<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">Sorry to pester people - I was just hoping that someone could confirm that they see this issue and/or suggest a fix...?</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small">James</div><div class="gmail_extra">
<div>
<div></div></div>
<br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 11:00 AM, James Sutherland <span dir="ltr"><<a href="mailto:James.Sutherland@utah.edu" target="_blank">James.Sutherland@utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:'trebuchet ms',sans-serif;font-size:small">Hello fellow cmake enthusiasts.</div><div style="font-family:'trebuchet ms',sans-serif;font-size:small">
<br></div><div style="font-family:'trebuchet ms',sans-serif;font-size:small">Beginning with a recent CMake update, find_package( Boost ... ) seems to be broken.</div><div style="font-family:'trebuchet ms',sans-serif;font-size:small">
<br></div><div><font face="trebuchet ms, sans-serif">Specifically, if I run ccmake, the first configure (press "c") finds the boost libraries, but sets "</font><span style="font-family:arial;font-size:small">Boost_DIR" to "</span>Boost_DIR-NOTFOUND". This has been the case for many releases of cmake, so I typically ignore that. The second configure (press "c" again), results in all of the boost libraries disappearing, and an error being raised.</div>
<div><br></div><div>This also occurs when running cmake (rather than ccmake). The first time I run cmake, things work fine. If I run it again, boost suddenly is not found and an error is raised.</div>
<div><br></div><div>This occurs on the following cmake versions/platforms that I have tested:</div><div><ul><li>2.8.11.2 (on debian with boost in /usr)<br>
</li><li>2.8.12 (on mac with boost in /usr/local)</li></ul><div>It does NOT occur on a few other systems I have access to:</div><div><ul><li>2.8.10.1 (on ubuntu with boost in /usr)</li><li>2.8.11.2 (on mac with boost in /opt/local) -- note same cmake version as the one that breaks on debian.</li>
</ul><div>If I set the environmental variable CMAKE_PREFIX_PATH to include the location of boost, it also fixes the problem. But this isn't a great solution in general.</div></div><div><br></div><div>Has anyone else seen this problem? Is there a known fix/patch?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>James</div></div>
</div>
</blockquote></div><br></div></div>