[CMake] Linker Flag error with SET

Matthias Noll matthias.noll at igd.fraunhofer.de
Mon Aug 3 08:11:41 EDT 2009


Hi all,

I have a problem while adding something to the linker command line with 
cmake. I'm trying to use the set command like this

SET(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_MODULE_LINKER_FLAGS} 
/NODEFAULTLIB:atlthunk )

After generation the value /NODEFAULTLIB:atlthunk is included in the 
command line but there is also a

";" between the old values and my new one. But the ";" results in a 
error. How can I prevent the ";" to appear.

Thanks,
Matthias


More information about the CMake mailing list