[CMake] CMAKE_CXX_STANDARD_LIBRARIES

Glenn Pierce glennpierce at gmail.com
Mon May 12 14:46:18 EDT 2008


Hi I have a library that I compile with visual studio and I would like to
make sure it is compiled with the option of the runtime library set too
multi-threaded /MT.

Also I would like it only linked to "user32.lib gdi32.lib"

i have tried using

SET(CMAKE_CXX_STANDARD_LIBRARIES, "user32.lib gdi32.lib")

but it seems to have no effect.
I don't know what to set to get the runtime library to be multi-threaded
/MT.

Does anyone have any ideas ?*

*Thanks*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080512/f8c60fc8/attachment.htm>


More information about the CMake mailing list