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.