<div class="gmail_quote">On Sun, May 17, 2009 at 12:26 AM, Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div><br></div><div>I have built Boost 1.39 on Windows with static libraries, and they are named like so:</div><div><br></div><div>libboost_filesystem-mt.lib</div><div><br></div><div>When I try to do this:</div><div><br>

</div><div>find_package( Boost REQUIRED COMPONENTS filesystem )</div><div><br></div><div>I get an error saying it could not find boost_filesystem. If I rename the above library and remove the &#39;lib&#39; prefix, so it is just &quot;boost_filesystem-mt.lib&quot;, it finds it. Does the FindBoost.cmake module not support the lib prefix on Windows? This might be an inconsistency on Boost&#39;s part.</div>
</blockquote><div><br>Have you set(Boost_USE_STATIC_LIBS ON)?<br><br>This might be related to a post a while back which never was fully resolved involving FindBoost and static libs / dynamic stdlib vs. static libs / static stdlib.<br>
<br>Also, which version of FindBoost are you using?<br><br></div></div>-- <br>Philip Lowman<br>