Hi,<br><br>I have the following directory structure<br><br>ProjName<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; src<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;lib<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;app<br><br><br>if I execute cmake -DBUILD_TYPE=Debug at the app level then the linking fails with missing lib. Obviously this because the lib is not compiled. Is there any way for me to detect&nbsp; that when I do cmake in the app folder that lib is not compiled and then compile for the linking to work. BTW if I do cmake @ the src level then everything works fine.
<br><br>Waiting for your replies and thanking you in advance.<br><br><br>Regards,<br><br>Aj<br>