CMakeLists: set MINIMUM_BOOST_VERSION to 1.66.0 (due to Base64, #3375)
This commit is contained in:
parent
ce32d68368
commit
80cb022901
@ -267,8 +267,8 @@ endif()
|
|||||||
#set(Boost_DEBUG ON)
|
#set(Boost_DEBUG ON)
|
||||||
# set(Boost_COMPILER "-mgw81")
|
# set(Boost_COMPILER "-mgw81")
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
# boost::process was introduced first in version 1.64.0
|
# boost::beast::detail::base64 was introduced first in version 1.66.0
|
||||||
set(MINIMUM_BOOST_VERSION "1.64.0")
|
set(MINIMUM_BOOST_VERSION "1.66.0")
|
||||||
endif()
|
endif()
|
||||||
set(_boost_components "system;filesystem;thread;log;locale;regex;chrono;atomic;date_time")
|
set(_boost_components "system;filesystem;thread;log;locale;regex;chrono;atomic;date_time")
|
||||||
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS ${_boost_components})
|
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS ${_boost_components})
|
||||||
|
Loading…
Reference in New Issue
Block a user