From 6518fc488266d573bad61c1dca38c07d46e72077 Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 4 Dec 2013 08:41:23 +0000 Subject: [PATCH] Set debug library name on Win32. --- src/SMESH_SWIG_WITHIHM/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESH_SWIG_WITHIHM/CMakeLists.txt b/src/SMESH_SWIG_WITHIHM/CMakeLists.txt index 0a3e36414..d900626ef 100644 --- a/src/SMESH_SWIG_WITHIHM/CMakeLists.txt +++ b/src/SMESH_SWIG_WITHIHM/CMakeLists.txt @@ -95,6 +95,10 @@ SET(_swig_SCRIPTS SWIG_ADD_MODULE(libSMESH_Swig python ${SMESH_Swig_SOURCES}) SWIG_LINK_LIBRARIES(libSMESH_Swig ${_link_LIBRARIES}) +IF(WIN32) + SET_TARGET_PROPERTIES(_libSMESH_Swig PROPERTIES DEBUG_OUTPUT_NAME _libSMESH_Swig_d) +ENDIF(WIN32) + INSTALL(TARGETS _libSMESH_Swig DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(FILES ${SMESH_Swig_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) -- 2.39.2