title: CMake with boost( on windows) :Could not find libraries?
body: <p>I am trying to build my project using CMake. Iam also using boost.
  The find package statement in my CMakeLists.txt file is:</p>
  
  <p>find_package(Boost 1.42 REQUIRED COMPONENTS </p>
  
  <p>python </p>
  
  <p>system</p>
  
  <p>filesystem</p>
  
  <p>serialization </p>
  
  <p>thread</p>
  
  <p>program_options </p>
  
  <p>regex </p>
  
  <p>test_exec_monitor
  )</p>
  
  <p>The build fails and the error message i get is:
  The following Boost libraries could not be found:</p>
  
  <pre><code>      boost_system
        boost_filesystem
        boost_serialization
        boost_thread
        boost_program_options
  </code></pre>
  
  <p>When i check my lib directories i find that the libraries are by name:
  libboost&lt; library_name >-vc100-mt.lib and not by boost_&lt; Library_name ></p>
  
  <p>Infact when i rename a single library in my lib files to fit according the boost_&lt; LibraryName > Prefix, it doesn't complain for that library.</p>
  
  <p>I see 2 solutions for the same:</p>
  
  <p>1.Make changes in the CMakeLists.txt file so that it searches for libraries with correct Prefix( and suffix ).</p>
  
  <p>2.Others</p>
  
  <p>What could be the best one.</p>