Salome HOME
50% of work performed of porting tests.
[tools/medcoupling.git] / src / MEDPartitioner / CMakeLists.txt
index 19e5a1606d6889156414f197b428e9bdcb16e579..9078711372c25852fa04e26912ed9ee561f285fd 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D
+# Copyright (C) 2012-2014  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -35,7 +35,6 @@ INCLUDE_DIRECTORIES(
 
 IF(SALOME_MED_PARTITIONER_METIS)
   ADD_DEFINITIONS(${METIS_DEFINITIONS})
-  ADD_DEFINITIONS("-DMED_ENABLE_METIS")
   IF(SALOME_MED_METIS_V5)
     ADD_DEFINITIONS("-DMED_ENABLE_METIS_V5")
   ENDIF(SALOME_MED_METIS_V5)
@@ -49,20 +48,16 @@ ENDIF(SALOME_MED_PARTITIONER_METIS)
 ########
 IF(SALOME_MED_PARTITIONER_SCOTCH)
   ADD_DEFINITIONS(${SCOTCH_DEFINITIONS})
-  ADD_DEFINITIONS("-DMED_ENABLE_SCOTCH")
   INCLUDE_DIRECTORIES(${SCOTCH_INCLUDE_DIRS})
 ENDIF(SALOME_MED_PARTITIONER_SCOTCH)
 
 IF(SALOME_MED_PARTITIONER_PARMETIS)
   ADD_DEFINITIONS(${PARMETIS_DEFINITIONS})
-  ADD_DEFINITIONS("-DMED_ENABLE_PARMETIS")
-  ADD_DEFINITIONS("-DMED_ENABLE_METIS")
   INCLUDE_DIRECTORIES(${PARMETIS_INCLUDE_DIRS})
 ENDIF(SALOME_MED_PARTITIONER_PARMETIS)
 
 IF(SALOME_USE_MPI)
   ADD_DEFINITIONS(${MPI_DEFINITIONS})
-  ADD_DEFINITIONS("-DHAVE_MPI2")
   INCLUDE_DIRECTORIES(${MPI_INCLUDE_DIRS})
 ENDIF(SALOME_USE_MPI)