Merge pull request #5508 from pmjdebruijn/minimum_boost_version
CMakeLists: set MINIMUM_BOOST_VERSION to 1.66.0 (due to Base64, #3375)
This commit is contained in:
commit
ba95a93a68
@ -289,8 +289,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