title: CMake doesn't find Boost libraries
body: <p>I'm trying to use a CMake script to compile a Boost-based application on Windows.
  The header-only libraries work fine, but CMake fails to find the libraries (the following Boost libraries could not be found: <code>boost_serialization</code>). The relevant part of the CMake script is:</p>
  
  <pre><code># Path where CMake can find additional libraries
  SET(CMAKE_PREFIX_PATH Libs)
  
  # Boost
  SET(Boost_ADDITIONAL_VERSIONS "1.47" "1.47.0")
  SET(Boost_USE_STATIC_LIBS   ON)
  find_package(Boost REQUIRED COMPONENTS serialization)
  </code></pre>
  
  <p>I have a folder called "Libs" inside my project where third-party libraries such as DevIL and Boost are stored, so I set this first. It works fine for Devil and Boost header-only stuff, so I assume I should not need the BOOST_ROOT variable.
  The Boost installation is the standard source distribution from boost.org which I compiled with <a href="https://en.wikipedia.org/wiki/Perforce_Jam#Boost.Jam" rel="nofollow noreferrer">BJam</a>. The libraries are stored in <code>boost_1_47_0\bin.v2\libs</code>, and I didn't change anything in the build process.</p>
  
  <p>I think it is a bit odd, that the <code>boost_1_47_0\libs</code> folder doesn't contain any library files but BJam files and other stuff, but that shouldn't be a problem since this seems to be the normal way to build Boost on Windows from the source.</p>
  
  <p>I looked at the Debug output from the <code>FindBoost.cmake</code> file (I'm using the default script from CMake&nbsp;2.8) and it doesn't seem to look into <code>bin.v2</code>. Instead it searches <code>boost_ROOT/lib</code>, but when I copied the content from <code>bin.v2\libs</code> to lib it still didn't find anything.</p>
  
  <p>So what is an elegant way to find Boost that will also work on other platforms with common Boost distributions?</p>