mirror of
https://github.com/OPM/opm-upscaling.git
synced 2026-08-26 13:07:11 -05:00
Boost: make sure to use config mode where appropriate
no need to look for unit_test_framework for the main module
This commit is contained in:
@@ -4,12 +4,16 @@ set (opm-upscaling_CONFIG_VAR
|
||||
HAVE_OPENMP
|
||||
)
|
||||
|
||||
# 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()
|
||||
|
||||
# dependencies
|
||||
set (opm-upscaling_DEPS
|
||||
# various runtime library enhancements
|
||||
"Boost 1.44.0
|
||||
COMPONENTS date_time unit_test_framework REQUIRED"
|
||||
"Boost 1.44.0 COMPONENTS iostreams"
|
||||
COMPONENTS date_time iostreams REQUIRED ${_Boost_CONFIG_MODE}"
|
||||
# matrix library
|
||||
"BLAS REQUIRED"
|
||||
"LAPACK REQUIRED"
|
||||
|
||||
Reference in New Issue
Block a user