Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 2.8.12)
- project(main CXX)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- find_package(Boost REQUIRED)
- add_executable(example first.cpp)
- target_link_libraries(example_exe -L${Boost_LIBRARY_DIRS})
Advertisement
Add Comment
Please, Sign In to add comment