Hi Bill,<br><br>Thanks, adding another line to _boost_LIBRARIES_SEARCH_DIRS without the Boost_SUBMINOR_VERSION fixes the problem for me as well. I agree that this is a special case for 0, though -- there is some question whether the line without the subminor version should be appended to the list if the subminor version is e.g. 1 rather than 0.<br>
<br>-Curtis<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 4:23 PM, Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>></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;">
<div class="im">Christopher Harvey wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
define BOOST_ROOT and point it at the root install location for boost. I<br>
had the same problem, that fixed it. I only had to do that on windows.<br>
<br>
</blockquote></div>
There seems to be a bug in the FindBoost, BOOST_ROOT should not be required. I got it to work by adding this:<br>
<br>
<br>
SET(_boost_LIBRARIES_SEARCH_DIRS<br>
C:/boost/lib<br>
C:/boost<br>
<br>
"$ENV{ProgramFiles}/boost/boost_${Boost_MAJOR_VERSION}_${Boost_MINOR_VERSION}_${Boost_SUBMINOR_VERSION}/lib"<br>
<br>
"$ENV{ProgramFiles}/boost/boost_${Boost_MAJOR_VERSION}_${Boost_MINOR_VERSION}/lib"<br>
"$ENV{ProgramFiles}/boost"<br>
/sw/local/lib<br>
)<br>
<br>
Boost installed to here for me:<br>
c/Program\ Files/boost/boost_1_38/<br>
<br>
So the extra _${Boost_SUBMINOR_VERSION} is breaking the find. CMake is looking in boost_1_38_0. Is that a special case for 0? I don't think both will hurt, so I guess I can check this in.<br><font color="#888888">
<br>
<br>
-Bill<br>
</font></blockquote></div><br>