From: michael Date: Wed, 20 Jan 2021 12:04:53 +0000 (+0100) Subject: Corrected minor confusion X-Git-Tag: V9_7_0~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35c7b022524b014ccbd7c5e2134b770fc0aae470;p=tools%2Fsolverlab.git Corrected minor confusion --- diff --git a/CoreFlows/swig/CMakeLists.txt b/CoreFlows/swig/CMakeLists.txt index 9302eca..d97f849 100755 --- a/CoreFlows/swig/CMakeLists.txt +++ b/CoreFlows/swig/CMakeLists.txt @@ -14,9 +14,9 @@ INCLUDE_DIRECTORIES( SET(_extra_lib_SWIG ${CDMATH_LIBRARIES} ${PETSC_LIBRARIES} ${SLEPC_LIBRARIES}) IF (${CMAKE_VERSION} VERSION_LESS "3.8.0") - SWIG_ADD_MODULE(CoreFlows python CoreFlows.i) -ELSE (${CMAKE_VERSION} VERSION_LESS "3.8.0") SWIG_ADD_LIBRARY(CoreFlows TYPE SHARED LANGUAGE python SOURCES CoreFlows.i) +ELSE (${CMAKE_VERSION} VERSION_LESS "3.8.0") + SWIG_ADD_MODULE(CoreFlows python CoreFlows.i) ENDIF(${CMAKE_VERSION} VERSION_LESS "3.8.0") SWIG_LINK_LIBRARIES(CoreFlows ${Python_LIBRARIES} ${_extra_lib_SWIG} CoreFlowsLibs ${PETSC_LIBRARIES} ${SLEPC_LIBRARIES})