Hicham,<br><br>You can force boost to add compiler name to the library file name. Add &quot;--layout=versioned&quot; to the bjam command line.<br><br><div class="gmail_quote">On 1 December 2010 00:37, Hicham Mouline <span dir="ltr">&lt;<a href="mailto:hicham@mouline.org">hicham@mouline.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-GB">

<div>

<p class="MsoNormal">As boost libraries naming convention doesn&#39;t include in the
lib names whether they are built by msvc9 win32 or x64, I am forced on a winxp
64 box where I hold both versions to have a different lib directory under
boost_root.</p>

<p class="MsoNormal">I set BOOST_ROOT then call FIND_PACKAGE(Boost 1.44
COMPONENTS ...).</p>

<p class="MsoNormal">Am I supposed to detect which of vc9 32bit or 64bit am  I generating
for and then set BOOST_LIBRARYDIR depending on that before calling
FIND_PACKAGE?</p>

<p class="MsoNormal">How do I detect bitness?</p>

</div>

</div>


<br>_______________________________________________<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></blockquote></div><br><br clear="all"><br>-- <br>Dmytro Ovdiienko<br><br>