Guest User

cmake problem

a guest
Apr 5th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.50 KB | None | 0 0
  1. cmake_minimum_required (VERSION 2.8)
  2.  
  3. project( plate )
  4.  
  5. SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11")
  6.  
  7. #Boost include start
  8. find_package (Boost COMPONENTS date_time thread filesystem)
  9. include_directories (${Boost_INCLUDE_DIRS})
  10. link_directories(${Boost_LIBRARY_DIR})
  11. #set (ADDITIONAL_LIBS ${ADDITIONAL_LIBS} ${Boost_LIBRARIES})
  12. #Boost include end
  13.  
  14. add_executable( plate plate.cpp )
  15.  
  16. target_link_libraries (plate ${Boost_LIBRARIES})
  17. #target_link_libraries (${PROJECT} ${ADDITIONAL_LIBS})
Advertisement
Add Comment
Please, Sign In to add comment