[CMake] FindBoost
Nadir SOUALEM
nadir.soualem at irisa.fr
Sat Apr 18 09:14:15 EDT 2009
Hi !!!
Is there a way to avoid using TOUPPER
SET(BOOST_ROOT $ENV{WORK}/../build/boost_1_34_1)
SET(Boost_USE_MULTITHREAD ON)
FIND_PACKAGE(Boost 1.34.1 COMPONENTS date_time filesystem)
STRING(TOUPPER ${CMAKE_BUILD_TYPE} UPPER_CMAKE_BUILD_TYPE)
Message (lib= ${Boost_DATE_TIME_LIBRARY_${UPPER_CMAKE_BUILD_TYPE}} )
I would like for example to use in debug mode, but
CMAKE_BUILD_TYPE=Debug(documentation) not DEBUG
and FindBoost use DEBUG (upperCase) (DEBUG different of Debug in Unix case)
Thank You
--
Nadir SOUALEM
More information about the CMake
mailing list