Merge pull request #4325 from sfc-gh-anoyes/anoyes/boost-1-67-exact

Use boost version 1.67 exactly on release-6.2
This commit is contained in:
Trevor Clinkenbeard 2021-02-12 12:30:21 -08:00 committed by GitHub
commit 5fbb76b74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,11 @@ if(NOT BOOSTROOT AND NOT BOOST_ROOT)
# We can fix this for boost versions > 1.70 # We can fix this for boost versions > 1.70
set(BOOST_ROOT /opt/boost_1_67_0) set(BOOST_ROOT /opt/boost_1_67_0)
endif() endif()
find_package(Boost 1.67)
# Bug in boost subprocess in 1.72! In release-6.3 and later we replaced the
# boost subprocess usage with our own thing, but for release-6.2 it's important
# that we use boost 1.67 exactly.
find_package(Boost 1.67 EXACT)
if(Boost_FOUND) if(Boost_FOUND)
add_library(boost_target INTERFACE) add_library(boost_target INTERFACE)