]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Windows: fix problem with activation of 'PVViewer'
authorana <ana@opencascade.com>
Mon, 9 Nov 2015 10:23:36 +0000 (13:23 +0300)
committerana <ana@opencascade.com>
Mon, 9 Nov 2015 10:23:36 +0000 (13:23 +0300)
src/PVServerService/ServiceLoader/CMakeLists.txt

index 1372bc5c069d00a58f26739e82f2c1db5ebbc7b9..15c1090c8007aa99b9b8a185f0ac2a06c0ecc6e5 100644 (file)
@@ -61,6 +61,9 @@ INSTALL(TARGETS PVServerServiceLoader EXPORT ${PROJECT_NAME}TargetGroup DESTINAT
 SET_SOURCE_FILES_PROPERTIES(${_SWIG} PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(${_SWIG} PROPERTIES SWIG_DEFINITIONS "-shadow")
 SWIG_ADD_MODULE(PVServer_ServiceLoader python ${_SWIG})
+IF(WIN32)
+  SET_TARGET_PROPERTIES(_PVServer_ServiceLoader PROPERTIES DEBUG_OUTPUT_NAME _PVServer_ServiceLoader_d)
+ENDIF(WIN32)
 SWIG_LINK_LIBRARIES(PVServer_ServiceLoader ${PYTHON_LIBRARIES} PVServerServiceLoader)
 
 INSTALL(TARGETS ${SWIG_MODULE_PVServer_ServiceLoader_REAL_NAME} EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_PYTHON})