diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 90008eceb193724b4cb10622a42f5d2671ffaa5b..d63236b4ca1523034c10a9ceafc2a7f2680cc710 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 }