]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected minor confusion
authormichael <michael@localhost.localdomain>
Wed, 20 Jan 2021 12:04:53 +0000 (13:04 +0100)
committermichael <michael@localhost.localdomain>
Wed, 20 Jan 2021 12:04:53 +0000 (13:04 +0100)
CoreFlows/swig/CMakeLists.txt

index 9302ecac7abebbfaea6075cf1ce83089b85e5f23..d97f8491a58e264bf97139b41fb0548c6e125ab4 100755 (executable)
@@ -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})