diff --git a/src/GEOM_SWIG_WITHIHM/CMakeLists.txt b/src/GEOM_SWIG_WITHIHM/CMakeLists.txt index aac28d6d3..16901f0ad 100755 --- a/src/GEOM_SWIG_WITHIHM/CMakeLists.txt +++ b/src/GEOM_SWIG_WITHIHM/CMakeLists.txt @@ -76,6 +76,7 @@ SET(_swig_SCRIPTS SWIG_ADD_MODULE(libGEOM_Swig python libGEOM_Swig.i libGEOM_Swig.cxx) SWIG_LINK_LIBRARIES(libGEOM_Swig "${_link_LIBRARIES}") +SWIG_CHECK_GENERATION(libGEOM_Swig) IF(WIN32) SET_TARGET_PROPERTIES(_libGEOM_Swig PROPERTIES DEBUG_OUTPUT_NAME _libGEOM_Swig_d) ENDIF(WIN32) diff --git a/src/XAO_Swig/CMakeLists.txt b/src/XAO_Swig/CMakeLists.txt index fa47112e0..110c111aa 100644 --- a/src/XAO_Swig/CMakeLists.txt +++ b/src/XAO_Swig/CMakeLists.txt @@ -59,6 +59,7 @@ SET_SOURCE_FILES_PROPERTIES(xao.i PROPERTIES SWIG_DEFINITIONS "-shadow") SWIG_ADD_MODULE(xao python xao.i) SWIG_LINK_LIBRARIES(xao "${_link_LIBRARIES}") +SWIG_CHECK_GENERATION(xao) IF(WIN32) SET_TARGET_PROPERTIES(_xao PROPERTIES DEBUG_OUTPUT_NAME _xao_d) ENDIF(WIN32)