<br><br><div class="gmail_quote">2013/1/21 Ansis Māliņš <span dir="ltr">&lt;<a href="mailto:ansis.malins@gmail.com" target="_blank">ansis.malins@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="im">&gt; I don&#39;t really know but  your ExternalProject_Add( looks strange?</div><div>Changing PROJECT_*_DIR to CMAKE_*_DIR doesn&#39;t help. Neither does setting directories directly instead of setting PREFIX.</div>


</div>
</blockquote></div><br>I think I wasn&#39;t clear.<br>I supposed that your CMakeLists.txt was taken from your project which requires external project(s) so that<br><br>ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR})<br>
<br>should probably be replaced with something like:<br><br>ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR}/extdep/bullet)<br><br>in order to avoid mixing source of the various external projetcs you integrate<br>with one another and with the main project.<br>
<br>May be you can send us your main CMakeLists.txt and/or describe<br>the directory structure you designed for your project and external projects?<br clear="all"><br>-- <br>Erk<br>Le gouvernement représentatif n&#39;est pas la démocratie -- <a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a>