From: Matthias Maier Date: Mon, 6 Dec 2021 20:28:48 +0000 (-0600) Subject: Boost: Disallow version 1.77 due to multiple unresolved upstream bugs X-Git-Tag: v9.4.0-rc1~766^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13036%2Fhead;p=dealii.git Boost: Disallow version 1.77 due to multiple unresolved upstream bugs Closes: https://github.com/dealii/dealii/issues/12817 --- diff --git a/cmake/configure/configure_2_boost.cmake b/cmake/configure/configure_2_boost.cmake index b61c7a64d5..beb510575e 100644 --- a/cmake/configure/configure_2_boost.cmake +++ b/cmake/configure/configure_2_boost.cmake @@ -146,6 +146,25 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var) IF(BOOST_FOUND) SET(${var} TRUE) + # + # Set BOOST_DIR to something meaningful if empty + # + IF("${BOOST_DIR}" STREQUAL "") + SET(BOOST_DIR "") + ENDIF() + + IF(BOOST_VERSION VERSION_EQUAL 1.77) + MESSAGE(STATUS "Could not find a sufficient Boost installation: " + "deal.II is not compatible with Boost version 1.77." + ) + SET(BOOST_ADDITIONAL_ERROR_STRING + ${BOOST_ADDITIONAL_ERROR_STRING} + "The Boost installation (found at \"${BOOST_DIR}\")\n" + "with version ${BOOST_VERSION} is not compatible with deal.II.\n\n" + ) + SET(${var} FALSE) + ENDIF() + IF(DEAL_II_WITH_ZLIB) # # Test that Boost.Iostreams is usable.