]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Set debug library name on Win32.
authorakl <akl@opencascade.com>
Wed, 4 Dec 2013 08:41:23 +0000 (08:41 +0000)
committerakl <akl@opencascade.com>
Wed, 4 Dec 2013 08:41:23 +0000 (08:41 +0000)
src/SMESH_SWIG_WITHIHM/CMakeLists.txt

index 0a3e364142622d01c46a6de23c8629ca55e352bf..d900626ef5473d04f3928178e8de021b1ec29300 100644 (file)
@@ -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})