Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add qt5chartslib
  • Loading branch information
signedav committed Sep 13, 2018
1 parent aa14593 commit 43c47b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/CMakeLists.txt
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 43c47b0

Please sign in to comment.