title: Setup Boost in Clion
body: <p>How to use <code>Boost</code> library in Clion with MinGW ? I have downloaded and unzipped <a href="https://sourceforge.net/projects/boost/files/boost/1.60.0/" rel="noreferrer">boost_1_60_0.zip</a> to <code>C:\boost_1_60_0</code>. What am I supposed to do now ? Do I have to install something ? Here is my <code>CMakeLists.txt</code>:</p>
  
  <pre><code>cmake_minimum_required(VERSION 3.3)
  project(server_client)
  
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -s -O3")
  set(CMAKE_EXE_LINKER_FLAGS -static)
  
  set(BOOST_ROOT "C:/boost_1_60_0")
  set(BOOSTROOT "C:/boost_1_60_0")
  find_package(Boost 1.60.0)
  if(NOT Boost_FOUND)
      message(FATAL_ERROR "Could not find boost!")
  endif()
  
  set(SOURCE_FILES chat_server.cpp)
  add_executable(server_client ${SOURCE_FILES})
  </code></pre>
  
  <p>Can not find <code>Boost</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/vFhHT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vFhHT.png" alt="1"></a></p>