BREAKING CHANGE(Deps/Boost): Set 1.74 as minimum version (#6874)

This commit is contained in:
Kitzunu 2021-07-16 00:55:08 +02:00 committed by GitHub
parent 4d6766d6a9
commit 0897705a68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View file

@ -28,12 +28,8 @@ endif()
include (CheckCXXSourceCompiles)
if (WIN32)
# On windows the requirements are higher according to the wiki.
set(BOOST_REQUIRED_VERSION 1.70)
else()
set(BOOST_REQUIRED_VERSION 1.67)
endif()
# C++20 requires Boost 1.74 to build
set(BOOST_REQUIRED_VERSION 1.74)
find_package(Boost ${BOOST_REQUIRED_VERSION} REQUIRED system filesystem program_options iostreams regex)