summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/bars/CMakeLists.txt
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2021-04-28 14:12:20 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-29 05:24:32 +0000
commitd19e191f993d43fbdd5c64954566e020e30668f5 (patch)
tree7165ea092f5bf20a18250b24f729e22200f65104 /examples/datavisualization/bars/CMakeLists.txt
parent30599f846efa802fbc800a7079fdb1512cf0f5db (diff)
Add find_package to allow standalone example builds
Fixes: QTBUG-93263 Change-Id: Ia80b6dc30c0797d2d17a349ffaad01ee5d057444 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 32c7d9b71e2857bf0859b28860fe45ce5c80b47c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/datavisualization/bars/CMakeLists.txt')
-rw-r--r--examples/datavisualization/bars/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/datavisualization/bars/CMakeLists.txt b/examples/datavisualization/bars/CMakeLists.txt
index d4245128..5388c565 100644
--- a/examples/datavisualization/bars/CMakeLists.txt
+++ b/examples/datavisualization/bars/CMakeLists.txt
@@ -17,6 +17,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS DataVisualization)
qt_add_executable(bars
graphmodifier.cpp graphmodifier.h