title: Visual C++ 11 cannot find Boost unit_test_framework library in CMake generated project
body: <p>I have a C++ project using CMake and Boost that compiles/links under Linux without any problems. I'm working towards porting this to Windows via Visual C++ 2012. </p>
  
  <p>My CMake configuration is as follows: </p>
  
  <pre><code>set(BOOST_ROOT ${DEPENDENCY_DIR}/boost/)
  set(Boost_USE_STATIC_LIBS   ON)
  set(Boost_USE_MULTITHREADED ON)
  set(Boost_USE_STATIC_RUNTIME    OFF)
  find_package(Boost 1.53 COMPONENTS system date_time chrono serialization filesystem program_options random thread regex unit_test_framework)
  
  message(STATUS "Boost Version:" ${Boost_VERSION})
  message(STATUS "Boost Include Dirs:" ${Boost_INCLUDE_DIR})
  message(STATUS "Boost Libraries:")
  foreach(lib ${Boost_LIBRARIES})
          message(STATUS ${lib})
  endforeach()
  
  include_directories(${Boost_INCLUDE_DIR})
  </code></pre>
  
  <p>and I'm using <code>target_link_libraries</code> with <code>${Boost_LIBRARIES}</code> in my targets. Also above <code>message</code> commands show all found files without any problem. </p>
  
  <p>Moreover required libraries show <code>libboost_unit_test_framework-vc110-mt-gd-1_53.lib</code> as it should be. </p>
  
  <p><img src="https://i.stack.imgur.com/UgPTG.png" alt="screenshot of library dependencies"></p>
  
  <p>However, when I build one of the targets, I get</p>
  
  <pre><code>2&gt;LINK : fatal error LNK1104: cannot open file 'boost_unit_test_framework-vc110-mt-gd-1_53.lib'
  </code></pre>
  
  <p>I removed another Boost library and from the error it seems the linker is able to find others. (like <code>chrono</code> or <code>serialization</code>.) But the error message is a bit different. The filename has <em>lib</em> in front of it. </p>
  
  <pre><code>2&gt;LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc110-mt-gd-1_53.lib'
  </code></pre>
  
  <p>Why does VC++ looks for a file prefixed with <strong>boost</strong> and not <strong>libboost</strong> for unit_test_framework? </p>