]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Windows compilation: proper inclusion of METIS/SCOTCH headers.
authorabn <adrien.bruneton@cea.fr>
Tue, 30 Aug 2016 12:55:10 +0000 (14:55 +0200)
committerabn <adrien.bruneton@cea.fr>
Tue, 30 Aug 2016 12:55:10 +0000 (14:55 +0200)
src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.cxx

index bfc7aa03d572d900c3895df369e9dd3e6bbf965e..a07b56200889347b4faab3da33fbe385c45798df 100644 (file)
 #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"