cmake: How to use check_something() macros with non-standard locations, Was: Re: invitation: try compiling kdelibs using cmake
Brad King
brad.king at kitware.com
Wed Feb 1 22:31:50 CET 2006
Tanner Lovelace wrote:
> How would you specify this when using them as environment variables?
> Like this?
>
> CMAKE_INCLUDE_PATH=/some/dir:/another/include/dir
Paths in environment variables use the separator convention of the
native platform.
Windows:
set CMAKE_INCLUDE_PATH c:/some/dir;c:/other/dir
Posix:
CMAKE_INCLUDE_PATH=/some/dir:/other/dir
For MinGW, CMake is a windows executable so it uses the windows-style
path with semicolons even though the MSYS environment's PATH variable
uses colons.
-Brad
More information about the Kde-buildsystem
mailing list