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.

Alex
_______________________________________________
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

Reply via email to