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