Use boost version 1.67 exactly on release-6.2

This commit is contained in:
Andrew Noyes 2021-02-12 17:44:08 +00:00
parent ad0b59ac73
commit ec30dddb3c
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
set(BOOST_ROOT /opt/boost_1_67_0)
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)
add_library(boost_target INTERFACE)