title: Visual Studio 2017 cannot find boost_system.lib in cmake project
body: <p>I'm trying to compile my cmake project with boost in Visual Studio 2017 but keep getting the following error:</p>
  
  <pre><code>LNK1104 cannot open file 'boost_system.lib'
  </code></pre>
  
  <p>Here is an excerpt from my cmake file:</p>
  
  <pre><code>project(my_project C CXX)
  
  set(Boost_USE_STATIC_LIBS        ON)
  set(Boost_USE_MULTITHREADED      ON)
  set(Boost_USE_STATIC_RUNTIME     OFF)
  
  add_definitions( -DBOOST_ALL_NO_LIB )
  
  find_package(Boost 1.68.0 REQUIRED COMPONENTS system thread)
  include_directories(${Boost_INCLUDE_DIRS}) 
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p>SOLVED: needed</p>
  
  <pre><code>target_link_libraries(my_project ${Boost_LIBRARIES}) 
  </code></pre>