]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Try to correct error detected by Roman
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 16 Jan 2018 13:07:36 +0000 (14:07 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 16 Jan 2018 13:07:36 +0000 (14:07 +0100)
src/PyWrapping/CMakeLists.txt

index a978d5ca74b549f8e18ddb81cef538631f6a0d3a..f288ab8895b7272c15cb2ccf38d9b4906c6a73a0 100644 (file)
@@ -63,17 +63,17 @@ SET(medcoupling_LIB_dependancies ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} medcouplin
 IF(NOT MEDCOUPLING_MICROMED)
   LIST(APPEND SWIG_MODULE_medcoupling_EXTRA_FLAGS -DWITH_MED_FILE)
   LIST(APPEND medcoupling_LIB_dependancies medloader)
-ENDIF(NOT MEDCOUPLING_MICROMED)
-
-IF(MEDCOUPLING_ENABLE_RENUMBER)
-  LIST(APPEND SWIG_MODULE_medcoupling_EXTRA_FLAGS -DWITH_RENUMBER)
-  LIST(APPEND medcoupling_LIB_dependancies renumbercpp)
-ENDIF(MEDCOUPLING_ENABLE_RENUMBER)
 
-IF(MEDCOUPLING_ENABLE_PARTITIONER)
-  LIST(APPEND SWIG_MODULE_medcoupling_EXTRA_FLAGS -DWITH_PARTITIONER)
-  LIST(APPEND medcoupling_LIB_dependancies medpartitionercpp)
-ENDIF(MEDCOUPLING_ENABLE_PARTITIONER)
+  IF(MEDCOUPLING_ENABLE_RENUMBER)
+    LIST(APPEND SWIG_MODULE_medcoupling_EXTRA_FLAGS -DWITH_RENUMBER)
+    LIST(APPEND medcoupling_LIB_dependancies renumbercpp)
+  ENDIF(MEDCOUPLING_ENABLE_RENUMBER)
+  
+  IF(MEDCOUPLING_ENABLE_PARTITIONER)
+    LIST(APPEND SWIG_MODULE_medcoupling_EXTRA_FLAGS -DWITH_PARTITIONER)
+    LIST(APPEND medcoupling_LIB_dependancies medpartitionercpp)
+  ENDIF(MEDCOUPLING_ENABLE_PARTITIONER)
+ENDIF(NOT MEDCOUPLING_MICROMED)
 
 IF(MEDCOUPLING_USE_MPI)
   INCLUDE_DIRECTORIES(${MPI_INCLUDE_DIRS})