Hi guys
I'm not able to convince cmake to properly use an environment variable which
consists of more than one entry for the INCLUDE_DIRECTORIES directive. It always
takes the value as it is:
Passing
MY_SPECIAL_INCLUDE32=/foo/bar/32bit/include:/foo/bar/include
to INCLUDE_DIRECTORIES like
INCLUDE_DIRECTORIES( "$ENV{MY_SPECIAL_INCLUDE32}" )
results in
/usr/bin/c++ -I/foo/bar/32bit/include:/foo/bar/include ...
instead of
/usr/bin/c++ -I/foo/bar/32bit/include -I/foo/bar/include ...
The same applies for LINK_DIRECTORIES but this seems not to matter for the rpath
command.
I tried to use TO_CMAKE_PATH with no avail.
Any ideas?
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake