|
|
@ -75,15 +75,10 @@ find_package(Threads REQUIRED)
|
|
|
|
# Boost 1.66+ required.
|
|
|
|
# Boost 1.66+ required.
|
|
|
|
set(Boost_USE_STATIC_LIBS ON)
|
|
|
|
set(Boost_USE_STATIC_LIBS ON)
|
|
|
|
set(Boost_USE_MULTITHREADED ON)
|
|
|
|
set(Boost_USE_MULTITHREADED ON)
|
|
|
|
if(WIN32)
|
|
|
|
find_package(Boost 1.66.0 REQUIRED COMPONENTS system filesystem date_time)
|
|
|
|
find_package(Boost REQUIRED)
|
|
|
|
|
|
|
|
else()
|
|
|
|
|
|
|
|
find_package(Boost REQUIRED COMPONENTS system filesystem date_time)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(Boost_FOUND)
|
|
|
|
if(Boost_FOUND)
|
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
link_directories(${Boost_LIBRARY_DIRS})
|
|
|
|
link_directories(${Boost_LIBRARY_DIRS})
|
|
|
|
message(STATUS ${Boost_LIBRARIES})
|
|
|
|
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(WEBCC_ENABLE_SSL)
|
|
|
|
if(WEBCC_ENABLE_SSL)
|
|
|
|