From 2e05217aa770a263b62a082deafe5275020de4d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Mon, 8 Dec 2014 18:58:22 +0100
Subject: [PATCH] [CMake] Include HAVE_PARMETIS to config.h.cmake

Moved from dune-istl's config.h.cmake. Otherwise it cannot
be shared with other modules using ParMETIS.
---
 config.h.cmake | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/config.h.cmake b/config.h.cmake
index b44ba5bda..6e2874935 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -119,6 +119,11 @@
 /* Define to if the UMFPack library is available */
 #cmakedefine HAVE_UMFPACK ENABLE_UMFPACK
 
+/* Define to ENABLE_PARMETIS if you have the Parmetis library.
+   This is only true if MPI was found
+   by configure _and_ if the application uses the PARMETIS_CPPFLAGS */
+#cmakedefine HAVE_PARMETIS ENABLE_PARMETIS
+
 /* Include always useful headers */
 #include "FC.h"
 #define FC_FUNC FC_GLOBAL_
-- 
GitLab