Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Find Boost and use static libs
- set(Boost_USE_STATIC_LIBS ON)
- find_package(Boost REQUIRED program_options date_time filesystem system)
- if (NOT Boost_FOUND)
- message(FATAL_ERROR "Cannot find Boost!")
- endif()
- list(APPEND Boost_LIBRARIES cppnetlib-uri cppnetlib-client-connections ssl crypto)
- set(OPENSSL_USE_STATIC_LIBS TRUE)
- add_definitions(-D BOOST_NETWORK_ENABLE_HTTPS)
- include_directories(${Boost_INCLUDE_DIRS})
- # later on Boost found like this
- find_package(Boost 1.58.0 REQUIRED COMPONENTS system thread)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement