On 09.02.09 22:03:18, Alexander Neundorf wrote: > On Saturday 07 February 2009, Andreas Pakulat wrote: > > Hi, > > > > it seems that find_package in config-mode also searches unix-like paths in > > CMAKE_PREFIX_PATH. So if I put myprojectConfig.cmake into > > <prefix>/lib/cmake/ its still found, even if installing on windows. > > > > Is this intentional? If so, it should be documented, currently the > > documentation seems to be indicating that only <prefix>/[Cc]make is > > searched on win32 and lib+share are only searched on *nix. > > The documentation actually says that: > > "This is merely a convention, so all (W) and (U) directories are still > searched on all platforms." > > Maybe the phrasing could be changed a bit, so that this is a bit closer to > the > list of directories and harder to overlook.
Yeah, I looked before and after the list, but didn't want to read through the full text (though I recall having done that at some point in the past). Andreas -- Your mode of life will be changed for the better because of good news soon. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
