title: cygwin cmake cannot find boost library
body: <p>I am trying to configure Cmake from the Cygwin terminal of windows, my Boost library is located at /usr/src/boost_1_54_0/libs. My CMake configuration file contains:</p>
  
  <pre><code>set(Boost_USE_STATIC_LIBS ON) 
  set(Boost_USE_MULTITHREADED ON) 
  set(Boost_USE_STATIC_RUNTIME OFF) 
  find_package(Boost 1.54.0 COMPONENTS date_time filesystem program_options serialization thread REQUIRED) 
  include_directories(${Boost_INCLUDE_DIRS})
  </code></pre>
  
  <p>However, CMake gives me the following error:</p>
  
  <pre><code>Boost version: 1.54.0
  
  Boost include path: /usr/src/boost_1_54_0
  
  The following Boost libraries could not be found:
  
          boost_date_time
          boost_filesystem
          boost_program_options
          boost_serialization
          boost_thread
  
  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
  </code></pre>
  
  <p>Then I tried to manually specify the directory of the Boostlib with the following line before the <em>find_package</em> method:</p>
  
  <pre><code>set(BOOST_LIBRARYDIR /usr/src/boost_1_54_0/libs)
  </code></pre>
  
  <p>But it doesn't work, either.</p>
  
  <p>Can anyone help me out?</p>