Hi,<br><br>is that a valid CMake instruction ?<br>target_link_libraries(bt &quot;-Wl,-whole-archive -L../idt/ -latidt<br>-Wl,-no-whole-archive&quot;)<br><br>I thought you were supposed to use<br>set_target_properties(bt PROPERTIES LINK_FLAGS &quot;-Wl,-whole-archive -L../idt/ -latidt -Wl,-no-whole-archive&quot;)<br>
<br><br>Maxime<br><br><div class="gmail_quote">2011/7/27 Sanatan Rai <span dir="ltr">&lt;<a href="mailto:sanatan@gmail.com">sanatan@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 class="im">On 27 July 2011 12:37, Rolf Eike Beer &lt;<a href="mailto:eike@sf-mail.de">eike@sf-mail.de</a>&gt; wrote:<br>
&gt;&gt; include_directories(${at_SOURCE_DIR})<br>
&gt;&gt; add_library(atfwmath RngStream.cpp RngStream.h coin.cpp coin.hpp)<br>
&gt;&gt; target_link_libraries(atfwmath)<br>
&gt;<br>
&gt; You are telling CMake here that atfwmath should be linked against<br>
&gt; something. But you don&#39;t tell it against what.<br>
<br>
</div>There are no other dependencies. Originally, this line was not there.<br>
I added it to see if it would fix the problem.<br>
<br>
<br>
--<br>
<font color="#888888">Sanatan Rai<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>