From 0897705a6814fc19007e5f88fbcb98b3689880c9 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 16 Jul 2021 00:55:08 +0200 Subject: [PATCH] BREAKING CHANGE(Deps/Boost): Set 1.74 as minimum version (#6874) --- deps/boost/CMakeLists.txt | 8 ++------ doc/changelog/pendings/changes_1625947288869410900.md | 3 +++ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 doc/changelog/pendings/changes_1625947288869410900.md diff --git a/deps/boost/CMakeLists.txt b/deps/boost/CMakeLists.txt index ffab0f52f..f59b6b874 100644 --- a/deps/boost/CMakeLists.txt +++ b/deps/boost/CMakeLists.txt @@ -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) diff --git a/doc/changelog/pendings/changes_1625947288869410900.md b/doc/changelog/pendings/changes_1625947288869410900.md new file mode 100644 index 000000000..48bdf4377 --- /dev/null +++ b/doc/changelog/pendings/changes_1625947288869410900.md @@ -0,0 +1,3 @@ +### How to upgrade + +Upgrade your Boost version to 1.74 or higher.