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:
Vojtěch Bubník 2021-02-10 11:21:35 +01:00 committed by GitHub
commit ba95a93a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})