Revision fc4357ee client/cpp/CMakeLists.txt

View differences:

client/cpp/CMakeLists.txt
1
SET( PROJECT_NAME hlrc_client_cpp )
2
PROJECT( ${PROJECT_NAME} )
1
PROJECT(hlrc_client_cpp)
2

  
3
if(NOT "${CMAKE_CXX_STANDARD}")
4
  set(CMAKE_CXX_STANDARD 11)
5
endif()
6
set(CMAKE_CXX_STANDARD_REQUIRED ON)
7
set(CMAKE_CXX_EXTENSIONS OFF)
3 8

  
4 9
#debug?
5 10
set(CMAKE_BUILD_TYPE Debug)
......
92 97
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" )
93 98

  
94 99
#search for Boost
95
find_package( Boost 1.46 REQUIRED COMPONENTS thread program_options system filesystem regex)
100
find_package( Boost 1.46 REQUIRED COMPONENTS program_options filesystem regex)
96 101
LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS}  )
97 102
include_directories(${Boost_INCLUDE_DIRS} )
98 103
message(STATUS "using ${Boost_LIBRARIES}")

Also available in: Unified diff