CMake does not find boost_thread
<p>I am trying to install the OpenGM library. However, while using CMake, I get the following error:</p>

<pre><code> CMake Error at /usr/local/share/cmake-3.6/Modules/FindBoost.cmake:1753 (message):
   Unable to find the requested Boost libraries.

   Boost version: 1.62.0

   Boost include path: /usr/local/include

   Could not find the following Boost libraries:

           boost_thread

   Some (but not all) of the required Boost libraries were found.  You may
   need to install these additional Boost libraries.  Alternatively, set
   BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
   to the location of Boost.
</code></pre>

<p>However, when I do:</p>

<pre><code>ls -l 
</code></pre>

<p>in</p>

<pre><code>/usr/local/include
</code></pre>

<p>I get the following line:</p>

<pre><code> lrwxr-xr-x   1 Florian  admin   36 13 oct 19:11 boost -&gt; ../Cellar/boost/1.62.0/include/boost
</code></pre>

<p>which suggests that it looks in the right directory.</p>

<p>In:</p>

<pre><code>/usr/local/lib
</code></pre>

<p>I have:</p>

<pre><code>libboost_thread-mt.a            
libboost_thread-mt.dylib
</code></pre>

<p>So, it seems that the boost_thread library does exist...</p>

<p>Regarding the CMake configuration related to Boost, I have:</p>

<pre><code> Boost_DIR                        Boost_DIR-NOTFOUND                           
 Boost_INCLUDE_DIR                /usr/local/include                           
 Boost_LIBRARY_DIR_DEBUG          /usr/local/lib                               
 Boost_LIBRARY_DIR_RELEASE        /usr/local/lib                               
 Boost_PYTHON_LIBRARY_DEBUG       /usr/local/lib/libboost_python.dylib         
 Boost_PYTHON_LIBRARY_RELEASE     /usr/local/lib/libboost_python.dylib
</code></pre>

<p>If it can help, I am under Mac OSX and Boost was installed through:</p>

<pre><code>brew install boost --with-python
brew install boost-python
</code></pre>