]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Windows compatibility (Qt5)
authorana <ana@opencascade.com>
Mon, 12 Dec 2016 12:52:05 +0000 (15:52 +0300)
committerana <ana@opencascade.com>
Mon, 12 Dec 2016 12:52:05 +0000 (15:52 +0300)
src/ShapeRecognition/CMakeLists.txt

index 5466dcb7511d994de9f6fc0840576cf0a0b880ce..78372f5ac9379dc7d0a5d3d028e8fca96849aed0 100755 (executable)
@@ -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}
   )