From 84b63411aa05517184309e55db9a72c73e4c660d Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Tue, 3 Feb 2026 11:16:48 +0100 Subject: [PATCH] As the v5.2.1 is broken on Windows, we roll back to previous version --- applications/plugins/SofaMatrix/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/plugins/SofaMatrix/CMakeLists.txt b/applications/plugins/SofaMatrix/CMakeLists.txt index d0a7772eb49..e128c75149d 100644 --- a/applications/plugins/SofaMatrix/CMakeLists.txt +++ b/applications/plugins/SofaMatrix/CMakeLists.txt @@ -11,12 +11,12 @@ sofa_find_package(Eigen3 REQUIRED) # - >= 5.2.1 # - EXACT 5.1.0 # Versions newer than 5.1 and older than 5.2.1 are known to be broken -find_package(metis 5.2.1 QUIET) +find_package(metis 5.1.0 EXACT QUIET) if(NOT metis_FOUND AND SOFA_ALLOW_FETCH_DEPENDENCIES) message("${PROJECT_NAME}: DEPENDENCY metis NOT FOUND. SOFA_ALLOW_FETCH_DEPENDENCIES is ON, fetching metis...") sofa_fetch_dependency(metis GIT_REPOSITORY https://github.com/sofa-framework/METIS - GIT_TAG v5.2.1-ModernInstall + GIT_TAG v5.1.0-ModernInstall ) elseif (NOT metis_FOUND) message(FATAL_ERROR "${PROJECT_NAME}: DEPENDENCY metis NOT FOUND. SOFA_ALLOW_FETCH_DEPENDENCIES is OFF and thus cannot be fetched. Install metis (version=5.2.1), or enable SOFA_ALLOW_FETCH_DEPENDENCIES to fix this issue.")