[CMake] SET_TARGET_PROPERTIES LINK_FLAGS not working

Teodor Calin Hanchevici calin.hanchevici at gmail.com
Thu Apr 12 16:03:24 EDT 2007


Hi all,
I have this code and i use nmake generator:

SET_TARGET_PROPERTIES(${NAME} PROPERTIES
                       OUTPUT_NAME ${NAME}${VERSION}
                       LINK_FLAGS /nodefaultlib:LIBCMT.lib
                       LINK_FLAGS /nodefaultlib:MSVCRT.lib)

It seems that only the last Link flak is taken into account. I tried various
combinations but it does not work.
Do you have any suggestions?

Thank you
calin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070412/c081f5d5/attachment.htm


More information about the CMake mailing list