summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/scatter/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
commitc3c540d245328d6396d5680358f9c3cdd8ab17a8 (patch)
treedf473ad5c820987cd46deda041d4899ddcefd32e /examples/datavisualization/scatter/CMakeLists.txt
parent626de05e405a89c188014e3ab04e0252c518f530 (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/scatter/CMakeLists.txt')
-rw-r--r--examples/datavisualization/scatter/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/datavisualization/scatter/CMakeLists.txt b/examples/datavisualization/scatter/CMakeLists.txt
index c54c7fbd..0dbedc1d 100644
--- a/examples/datavisualization/scatter/CMakeLists.txt
+++ b/examples/datavisualization/scatter/CMakeLists.txt
@@ -16,6 +16,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS DataVisualization)
qt_add_executable(scatter
main.cpp