Skip to content

Commit

Permalink
QtChart in CMake file
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Sep 13, 2018
1 parent 533ab61 commit 72eb702
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/CMakeLists.txt
Expand Up @@ -737,6 +737,10 @@ SET(QGIS_GUI_MOC_HDRS
FIND_PACKAGE(Qt5Qml REQUIRED)
FIND_PACKAGE(Qt5QuickWidgets REQUIRED)

IF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)
FIND_PACKAGE(Qt5Charts REQUIRED )
ENDIF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)

IF(Qt5Qml_FOUND)
ADD_DEFINITIONS(-DWITH_QML)
SET(QGIS_GUI_MOC_HDRS
Expand Down

0 comments on commit 72eb702

Please sign in to comment.