From d5b6f76111fc1b4ebcd716865276c94637d6cdd6 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Mon, 15 Apr 2024 03:38:42 +0200 Subject: [PATCH] [LinearAlgebra] Trigger error on the Eigen version (#4630) --- Sofa/framework/LinearAlgebra/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sofa/framework/LinearAlgebra/CMakeLists.txt b/Sofa/framework/LinearAlgebra/CMakeLists.txt index ed391a3e04a..8a809ee97cd 100644 --- a/Sofa/framework/LinearAlgebra/CMakeLists.txt +++ b/Sofa/framework/LinearAlgebra/CMakeLists.txt @@ -62,7 +62,7 @@ set(SOURCE_FILES ${SOFALINEARALGEBRASRC_ROOT}/init.cpp ) -sofa_find_package(Eigen3 REQUIRED) +sofa_find_package(Eigen3 3.3.5 REQUIRED) if (SOFA_OPENMP AND "${EIGEN3_VERSION}" VERSION_LESS 3.2.10) sofa_find_package(OpenMP BOTH_SCOPES) # will set/update SOFA_LINEARALGEBRA_HAVE_OPENMP