[CMake] find_package on windows also considering unix paths?

Andreas Pakulat apaku at gmx.de
Fri Feb 6 18:14:41 EST 2009


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.

Andreas

-- 
Today is the last day of your life so far.


More information about the CMake mailing list