fix(Core): revert Boost minimum version change (#6975)

This commit is contained in:
Francesco Borzì 2021-07-16 10:09:33 +02:00 committed by GitHub
parent b5bdb7decb
commit 7449496bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,12 @@ endif()
include (CheckCXXSourceCompiles)
# C++20 requires Boost 1.74 to build
set(BOOST_REQUIRED_VERSION 1.74)
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()
find_package(Boost ${BOOST_REQUIRED_VERSION} REQUIRED system filesystem program_options iostreams regex)