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

Ben Ratzlaff cmake at daishiva.com
Thu Sep 20 17:30:26 EDT 2007


I've tried:
SET (CMAKE_SHARED_LINKER_FLAGS
    "${CMAKE_SHARED_LINKER_FLAGS} /DELAYLOAD:dnssd.dll"
)

and

SET_TARGET_PROPERTIES (${MY_PROJECT} PROPERTIES
    LINK_FLAGS "/DELAYLOAD:dnssd.dll"
)

and after I build the project in Visual Studio 2005, I am greeted with the
dialog that says dnssd.dll is required.

This does not happen when building the project with nmake, the executable
runs just fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070920/432e7537/attachment.html


More information about the CMake mailing list