Skip to content
Permalink
Browse files

QtChart in CMake file

  • Loading branch information
signedav committed Sep 13, 2018
1 parent 533ab61 commit 72eb702113bfe7439d3aad73f7874591960434a6
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/CMakeLists.txt
@@ -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

0 comments on commit 72eb702

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