From 60db3f9109d9edda4a773478c2ee5b414af94dda Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 16 Jan 2018 14:07:36 +0100 Subject: [PATCH] Try to correct error detected by Roman --- src/PyWrapping/CMakeLists.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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}) -- 2.39.2