[CMake] SET_TARGET_PROPERTIES LINK_FLAGS not working
Thomas Christian Chust
chust at web.de
Fri Apr 13 07:28:31 EDT 2007
Teodor Calin Hanchevici wrote:
> Alan, this does not work either,
> LINK_FLAGS "/nodefaultlib:LIBCMT.lib;/nodefaultlib:MSVCRT.lib"
> it always picks the first one
> [...]
Hello,
the LINK_FLAGS property has to be set to a simple space separated string
just like it is supposed to appear on the linker command line. Thus is think
LINK_FLAGS "/nodefaultlib:LIBCMT.lib /nodefaultlib:MSVCRT.lib"
should do, but I don't have the MS development toolchain installed, so I
can't check whether that really works as expected.
cu,
Thomas
More information about the CMake
mailing list