From ec30dddb3cf2932c9f9f04cf91ccb6d5d614b1a3 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 12 Feb 2021 17:44:08 +0000 Subject: [PATCH] Use boost version 1.67 exactly on release-6.2 --- cmake/CompileBoost.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/CompileBoost.cmake b/cmake/CompileBoost.cmake index 77bdb8b542..f1097902f7 100644 --- a/cmake/CompileBoost.cmake +++ b/cmake/CompileBoost.cmake @@ -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)