# libraries to link to
SET(_link_LIBRARIES ${QT_LIBRARIES} ${CAS_KERNEL} ${OPENGL_LIBRARIES} qtx suit)
-IF(NOT WINDOWS)
+IF(NOT WIN32)
LIST(APPEND _link_LIBRARIES Xmu)
ENDIF()
# additional preprocessor / compiler flags
ADD_DEFINITIONS(${CAS_DEFINITIONS} ${QT_DEFINITIONS} ${HDF5_DEFINITIONS})
-IF(NOT WINDOWS)
+IF(NOT WIN32)
ADD_DEFINITIONS("-Wno-deprecated")
ENDIF()
IF(NOT SALOME_USE_SALOMEOBJECT)
INSTALL(TARGETS SalomePy DESTINATION ${SALOME_INSTALL_LIBS})
# TODO: check on windows
-IF(WINDOWS)
+IF(WIN32)
SET_TARGET_PROPERTIES(SalomePy PROPERTIES PREFIX "lib" SUFFIX ".pyd" DEBUG_OUTPUT_NAME SalomePy_d RELEASE_OUTPUT_NAME SalomePy)
-ENDIF(WINDOWS)
+ENDIF(WIN32)
# TODO: check if PYTHON_ADD_MODULE() macro can be used to build this target
\ No newline at end of file
TARGET_LINK_LIBRARIES(SalomePyQt ${_link_LIBRARIES})
INSTALL(TARGETS SalomePyQt DESTINATION ${SALOME_INSTALL_LIBS})
-IF(WINDOWS)
+IF(WIN32)
SET_TARGET_PROPERTIES(SalomePyQt PROPERTIES SUFFIX ".pyd" DEBUG_OUTPUT_NAME SalomePyQt_d RELEASE_OUTPUT_NAME SalomePyQt)
ELSE()
SET_TARGET_PROPERTIES(SalomePyQt PROPERTIES PREFIX "")
SWIG_ADD_MODULE(libSALOME_Swig python libSALOME_Swig.i SALOMEGUI_Swig.cxx)
SWIG_LINK_LIBRARIES(libSALOME_Swig ${PYTHON_LIBRARIES} LightApp)
-IF(WINDOWS)
+IF(WIN32)
SET_TARGET_PROPERTIES(_libSALOME_Swig PROPERTIES DEBUG_OUTPUT_NAME _libSALOME_Swig_d)
-ENDIF(WINDOWS)
+ENDIF(WIN32)
INSTALL(TARGETS _libSALOME_Swig DESTINATION ${SALOME_INSTALL_PYTHON})