summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-04-12 15:04:14 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-16 15:27:20 +0000
commit6599e9a999e3ebaf94d11d88f3343bedd567a329 (patch)
treecf1cbaec6de16cef305c06c2683ac09871d5b3fb
parentf8e84f78ff451eb984767c03c361bb217ad54cb9 (diff)
Add the use of the qt_internal_project_setup function
The function sets the required CMake variables and policies. Task-number: QTBUG-112685 Change-Id: I245bd218eb9c18b51b0698e3cca13fd03903dcd6 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> (cherry picked from commit 409b41e61fac413b2955d960e1ad011471cc45d3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66ba17dc..f5428101 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,7 @@ project(QtDataVisualization
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS
Core OpenGL Quick Qml Gui Widgets QuickTest Test)
+qt_internal_project_setup()
macro(assertTargets)
foreach(qtTarget IN ITEMS ${ARGN})