From a28f614b095efb0e27952b4763a502c0f74195da Mon Sep 17 00:00:00 2001
From: Eric Bechet <eric.bechet@ulg.ac.be>
Date: Thu, 28 Oct 2010 10:23:44 +0000
Subject: [PATCH]

---
 Geo/GModel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp
index 90008eceb1..d63236b4ca 100644
--- a/Geo/GModel.cpp
+++ b/Geo/GModel.cpp
@@ -2328,7 +2328,7 @@ void GModel::classifyFaces(std::set<GFace*> &_faces)
 
 void GModel::createPartitionBoundaries(int createGhostCells)
 {
-#if defined(HAVE_CHACO) || defined(HAVE_METIS)
+#if (defined(HAVE_CHACO) || defined(HAVE_METIS)) && defined(HAVE_MESH)
   CreatePartitionBoundaries(this, createGhostCells);
 #endif
 }
-- 
GitLab