[CMake] /DELAYLOAD flag doesnt stick when making a vc8 project

Sylvain Jaume sylvainjaume at gmail.com
Fri Oct 3 16:26:08 EDT 2008


Hi,

I try to set the DELAYLOAD flag for the VS8 linker using:

  set_target_properties(mylib PROPERTIES LINK_FLAGS "/DELAYLOAD: mylib.dll")

But I get the linker error:

  1>LINK : fatal error LNK1146: no argument specified with option
'/DELAYLOAD:'

I found this thread but it did not solve my issue:
http://www.cmake.org/pipermail/cmake/2007-September/016449.html

Does CMake 2.6 has a different command to set the linker flags?

Thanks!
Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081003/f124f6d0/attachment.htm>


More information about the CMake mailing list