From cd45e3170692cd20dde73d5a87fd215d5d207953 Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Tue, 1 Oct 2024 15:25:07 +0200 Subject: [PATCH] [cmake] Use same boost version for tfel. --- scripts/cmake/DependenciesExternalProject.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/DependenciesExternalProject.cmake b/scripts/cmake/DependenciesExternalProject.cmake index 0092a2c9ae8..0e1470fe249 100644 --- a/scripts/cmake/DependenciesExternalProject.cmake +++ b/scripts/cmake/DependenciesExternalProject.cmake @@ -63,7 +63,7 @@ if(OGS_USE_MFRONT) set(_py_boost_comp "python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}" ) - find_package(Boost COMPONENTS ${_py_boost_comp}) + find_package(Boost ${ogs.minimum_version.boost} COMPONENTS ${_py_boost_comp}) if(Boost_${_py_boost_comp}_FOUND) set(_tfel_cmake_args "-DPython_ADDITIONAL_VERSIONS=${_py_version_major_minor}"