Windows compatibility (Qt5)

This commit is contained in:
ana 2016-12-12 15:52:05 +03:00
parent e8fec0b394
commit 3ac2c8a5e8

View File

@ -34,11 +34,16 @@ ADD_DEFINITIONS(
#${CAS_DEFINITIONS}
${QT_DEFINITIONS}
)
IF(NOT SALOME_GUI_BUILD_WITH_QT5)
SET(QT_QTCORE_LIB ${QT_QTCORE_LIBRARY})
ELSE()
SET(QT_QTCORE_LIB ${Qt5Core_LIBRARIES})
ENDIF()
# libraries to link to
SET(_link_LIBRARIES
${OpenCV_LIBS}
${QT_QTCORE_LIBRARY} # ${QT_LIBRARIES}
${QT_QTCORE_LIB}
${KERNEL_SALOMELocalTrace}
)