Merge pull request #6919 from akva2/use_cmp_0167

rely on policy for forcing config mode for boost
This commit is contained in:
Bård Skaflestad authored and GitHub committed 2026-03-10 15:16:15 +01:00
commit 09bd151ddb
1 file changed
+1 -6
+1 -6
View File
@@ -30,11 +30,6 @@ set (opm-simulators_CONFIG_VAR
OPM_COMPILE_COMPONENTS_TEMPLATE_LIST
)
# CMake 3.30.0 requires to find Boost in CONFIG mode
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.30.0)
set(_Boost_CONFIG_MODE CONFIG)
endif()
include(CheckAVX2)
check_for_avx2()
@@ -42,7 +37,7 @@ check_for_avx2()
set (opm-simulators_DEPS
# Various runtime library enhancements
"Boost 1.44.0
COMPONENTS date_time REQUIRED ${_Boost_CONFIG_MODE}"
COMPONENTS date_time REQUIRED"
# DUNE prerequisites
"dune-common REQUIRED"
"dune-istl REQUIRED"