diff options
author | Francesco Borzì <borzifrancesco@gmail.com> | 2021-07-16 10:09:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 10:09:33 +0200 |
commit | 7449496bb5174309d064294e182e0fbaa8c78068 (patch) | |
tree | cbbe53905e7f142f509e63afbdd185d3b087a1c9 /deps | |
parent | b5bdb7decbebae49731b5c4f88e29d95a469b1ae (diff) |
fix(Core): revert Boost minimum version change (#6975)
Diffstat (limited to 'deps')
-rw-r--r-- | deps/boost/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/boost/CMakeLists.txt b/deps/boost/CMakeLists.txt index f59b6b8743..ffab0f52fd 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) |