From ffaeb4662c4f6f9da4c04920178a062bfa66a001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20Pep=C3=A8=20Sciarria?= Date: Thu, 13 Mar 2025 11:48:48 +0100 Subject: [PATCH] update cmake to work when metis is not installed --- util/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt index 02a71bd8..1c6b3719 100644 --- a/util/CMakeLists.txt +++ b/util/CMakeLists.txt @@ -39,9 +39,15 @@ foreach(file IN LISTS PSB_util_source_files) endforeach() set(PSB_util_source_C_files - psb_metis_int.c + psb_amd_order.c ) +set(PSB_util_source_C__metis_files + + psb_metis_int.c + ) + + foreach(file IN LISTS PSB_util_source_C_files) list(APPEND util_source_C_files ${CMAKE_CURRENT_LIST_DIR}/${file}) endforeach()