From: Anthony Geay Date: Tue, 16 Jan 2018 13:07:36 +0000 (+0100) Subject: Try to correct error detected by Roman X-Git-Tag: V9_0_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60db3f9109d9edda4a773478c2ee5b414af94dda;p=tools%2Fmedcoupling.git Try to correct error detected by Roman --- diff --git a/src/PyWrapping/CMakeLists.txt b/src/PyWrapping/CMakeLists.txt index a978d5ca7..f288ab889 100644 --- a/src/PyWrapping/CMakeLists.txt +++ b/src/PyWrapping/CMakeLists.txt @@ -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})