Skip to content
Permalink
Browse files

add qt5chartslib

  • Loading branch information
signedav committed Sep 13, 2018
1 parent aa14593 commit 43c47b09c471b20da804be639d745c33379ced63
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/gui/CMakeLists.txt
@@ -739,7 +739,6 @@ FIND_PACKAGE(Qt5QuickWidgets REQUIRED)

IF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)
FIND_PACKAGE(Qt5Charts REQUIRED )
INCLUDE_DIRECTORIES(${Qt5Charts_INCLUDE_DIRS})
ENDIF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)

IF(Qt5Qml_FOUND)
@@ -1038,6 +1037,10 @@ TARGET_LINK_LIBRARIES(qgis_gui
${Qt5QuickWidgets_LIBRARIES}
)

IF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)
TARGET_LINK_LIBRARIES(qgis_gui ${Qt5Charts_LIBRARIES})
ENDIF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)

IF(ENABLE_MODELTEST)
TARGET_LINK_LIBRARIES(qgis_gui ${Qt5Test_LIBRARIES})
ENDIF(ENABLE_MODELTEST)

0 comments on commit 43c47b0

Please sign in to comment.
You can’t perform that action at this time.