From: abn Date: Tue, 30 Aug 2016 12:55:10 +0000 (+0200) Subject: Windows compilation: proper inclusion of METIS/SCOTCH headers. X-Git-Tag: V8_1_0rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7146d186409953ffb6875c8b75deaf6971ce981a;p=tools%2Fmedcoupling.git Windows compilation: proper inclusion of METIS/SCOTCH headers. --- 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"