From e7f1a47b7e6a706c5538103a8e0be1700a2d7b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20Pep=C3=A8=20Sciarria?= Date: Thu, 13 Mar 2025 16:51:57 +0100 Subject: [PATCH] update cmake to work when metis is not installed --- util/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt index 1c6b3719..7656355e 100644 --- a/util/CMakeLists.txt +++ b/util/CMakeLists.txt @@ -51,3 +51,7 @@ set(PSB_util_source_C__metis_files foreach(file IN LISTS PSB_util_source_C_files) list(APPEND util_source_C_files ${CMAKE_CURRENT_LIST_DIR}/${file}) endforeach() + +foreach(file IN LISTS PSB_util_source_C_metis_files) + list(APPEND util_source_C_files ${CMAKE_CURRENT_LIST_DIR}/${file}) +endforeach()