diff --git a/cmake/configure/configure_2_boost.cmake b/cmake/configure/configure_2_boost.cmake index f657345c637c..e9f29edd0b78 100644 --- a/cmake/configure/configure_2_boost.cmake +++ b/cmake/configure/configure_2_boost.cmake @@ -194,7 +194,7 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var) RESET_CMAKE_REQUIRED() ENDIF() # DEAL_II_WITH_ZLIB - IF(DEAL_II_ALLOW_PLATFORM_INTROSPECTION) + IF(${BOOST_VERSION} VERSION_LESS 1.74.0 AND DEAL_II_ALLOW_PLATFORM_INTROSPECTION) # # Test that Boost.Serialization is usable. #