From 7146d186409953ffb6875c8b75deaf6971ce981a Mon Sep 17 00:00:00 2001 From: abn Date: Tue, 30 Aug 2016 14:55:10 +0200 Subject: [PATCH] Windows compilation: proper inclusion of METIS/SCOTCH headers. --- src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx b/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx index bfc7aa03d..a07b56200 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx @@ -24,8 +24,12 @@ #include "MEDPARTITIONER_ParallelTopology.hxx" #include "MEDPARTITIONER_Utils.hxx" #include "MEDPARTITIONER_Graph.hxx" -#include "MEDPARTITIONER_MetisGraph.hxx" -#include "MEDPARTITIONER_ScotchGraph.hxx" +#ifdef MED_ENABLE_METIS +# include "MEDPARTITIONER_MetisGraph.hxx" +#endif +#ifdef MED_ENABLE_SCOTCH +# include "MEDPARTITIONER_ScotchGraph.hxx" +#endif #include "MEDPARTITIONER_MeshCollectionDriver.hxx" #include "MEDCouplingUMesh.hxx" -- 2.39.2