From 7449496bb5174309d064294e182e0fbaa8c78068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Fri, 16 Jul 2021 10:09:33 +0200 Subject: [PATCH] fix(Core): revert Boost minimum version change (#6975) --- deps/boost/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deps/boost/CMakeLists.txt b/deps/boost/CMakeLists.txt index f59b6b874..ffab0f52f 100644 --- a/deps/boost/CMakeLists.txt +++ b/deps/boost/CMakeLists.txt @@ -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)