<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>&nbsp;&nbsp;set_target_properties(mylib PROPERTIES LINK_FLAGS &quot;/DELAYLOAD: mylib.dll&quot;)</div>
<div><br></div><div><div>But I get the linker error:</div><div><br></div><div>&nbsp;&nbsp;1&gt;LINK : fatal error LNK1146: no argument specified with option &#39;/DELAYLOAD:&#39;</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>