diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06a273e2cf89ec695b7c81edf91fdd8e5a02a270..2a9a234e7166ff8c2a802cf1280824ce58874f5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -843,7 +843,7 @@ if (MPI_FOUND)
 else()
   if (PUGS_ENABLE_MPI MATCHES "^OFF$")
     message(" MPI: explicitly deactivated!")
-  elseif((NOT DEFINED PUGS_HAS_PARMETIS) and (NOT DEFINED PUGS_HAS_PTSCOTCH))
+  elseif((NOT DEFINED PUGS_HAS_PARMETIS) AND (NOT DEFINED PUGS_HAS_PTSCOTCH))
     message(" MPI: deactivated: ParMETIS and PTScotch cannot be found!")
   else()
     if (PUGS_ENABLE_MPI MATCHES "^(AUTO|ON)$")