From bae64e91214847cdfb57430f4158ee94348bc408 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 5 May 2026 08:52:30 +0200 Subject: [PATCH] fixed: do not print warning about missing ParMETIS in serial builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 18f9395e5f..f038a12bb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,7 @@ macro(opm-simulators_prereqs_hook) if(TARGET ParMETIS::ParMETIS) target_link_libraries(opmsimulators PUBLIC ParMETIS::ParMETIS) - else() + elseif(MPI_FOUND) message( WARNING "We have not found ParMETIS/PTScotch on your systems. "