<div dir="ltr"><div>Hi,</div><div><br></div><div>I try to set the DELAYLOAD flag for the VS8 linker using:</div><div><br></div><div> set_target_properties(mylib PROPERTIES LINK_FLAGS "/DELAYLOAD: mylib.dll")</div>
<div><br></div><div><div>But I get the linker error:</div><div><br></div><div> 1>LINK : fatal error LNK1146: no argument specified with option '/DELAYLOAD:'</div><div><br></div><div>I found this thread but it did not solve my issue: <a href="http://www.cmake.org/pipermail/cmake/2007-September/016449.html">http://www.cmake.org/pipermail/cmake/2007-September/016449.html</a><br>
</div></div><div><br></div><div>Does CMake 2.6 has a different command to set the linker flags?</div><div><br></div><div>Thanks!</div><div>Sylvain</div><div><br></div></div>