I have something like the following in my CMakeLists file.

 set( CMAKE_EXE_LINKER_FLAGS_DEBUG "-lboost_regex-xgcc40-mt-d" )
 set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-lboost_regex-xgcc40-mt" )

and then a exe that needs this library to link....

However the makefile doesn't actually add this option in.  If i use
CMAKE_EXE_LINKER_FLAGS it works fine.  Am I missing something?

using CMake 2.6.2

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

Reply via email to