Hello all,<div>I'm using CMake-2.8 on winxp with Visual Studio 2005 generator.</div><div><br></div><div>lets say I've a dll created (A.dll) from some cxx files and a static library static.lib</div><div><br></div><div>
So I call Link_Directories to specify the directory where the static library is located.</div><div>Now A.dll is built fine.</div><div><br></div><div>Now I want B.dll built from some cxx sources, A.lib (the import lib of A.dll)</div>
<div><br></div><div>Now when I say Target_Link_Libraries for (B A), the project file is created with static.lib also as a dependency.</div><div>Now B has two dependencies A and static.lib. But I'm not adding the directory of static.lib to Link_Directories for B and my build fails.</div>
<div><br></div><div>I do not think B needs to know about static.lib</div><div><br></div><div>Any Ideas how to avoid this ?</div><div><br></div><div>Thanks in advance,</div><div>Surya</div><div><br></div><div><br></div>