Guest User

Untitled

a guest
Jul 29th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. cmake_minimum_required(VERSION 2.8.12)
  2. project(main CXX)
  3.  
  4. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  5.  
  6. find_package(Boost REQUIRED)
  7.  
  8. add_executable(example first.cpp)
  9.  
  10. target_link_libraries(example_exe -L${Boost_LIBRARY_DIRS})
Advertisement
Add Comment
Please, Sign In to add comment