From a211b1e23fe5b01a786cecdc4ee3970c7837ac3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20Pep=C3=A8=20Sciarria?= Date: Fri, 28 Mar 2025 12:59:23 +0100 Subject: [PATCH] hot fix, move metis variables instantiation befor psb_config.h generation --- CMakeLists.txt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd015361..c4682821 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -465,20 +465,6 @@ if(METIS_FOUND) set(CINTMETIS "#define PSB_METIS_${IPK_SIZE}") set(CREALMETIS "#define PSB_METIS_REAL_${LPK_SIZE}") - - - - - target_include_directories(util - PUBLIC ${METIS_INCLUDES}) - target_include_directories(psb_util_C - PUBLIC ${METIS_INCLUDES}) - target_link_libraries(util - PUBLIC ${METIS_LIBRARIES}) - target_compile_definitions(psb_util_C - PUBLIC PSB_HAVE_METIS) #TDDO: CHECK IF THAT _ IS CORRECT - target_compile_definitions(util - PUBLIC PSB_HAVE_METIS) endif()