From 3e76bc8a583aa0f67a39c73ba255aa9a5b3e4c8d Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 4 Apr 2017 14:57:04 +0300 Subject: [PATCH] Improve swig generation process on Windows platform. --- src/SMESH_SWIG_WITHIHM/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)