From: rnv Date: Tue, 4 Apr 2017 11:57:04 +0000 (+0300) Subject: Improve swig generation process on Windows platform. X-Git-Tag: Before_multi_study_removal_06072017~1^2~1^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e76bc8a583aa0f67a39c73ba255aa9a5b3e4c8d;p=modules%2Fsmesh.git Improve swig generation process on Windows platform. --- diff --git a/src/SMESH_SWIG_WITHIHM/CMakeLists.txt b/src/SMESH_SWIG_WITHIHM/CMakeLists.txt index 4132fa9a3..8a252507c 100644 --- a/src/SMESH_SWIG_WITHIHM/CMakeLists.txt +++ b/src/SMESH_SWIG_WITHIHM/CMakeLists.txt @@ -98,6 +98,7 @@ SET(_swig_SCRIPTS SWIG_ADD_MODULE(libSMESH_Swig python ${SMESH_Swig_SOURCES}) SWIG_LINK_LIBRARIES(libSMESH_Swig ${_link_LIBRARIES}) +SWIG_CHECK_GENERATION(libSMESH_Swig) IF(WIN32) SET_TARGET_PROPERTIES(_libSMESH_Swig PROPERTIES DEBUG_OUTPUT_NAME _libSMESH_Swig_d) ENDIF(WIN32)