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-03 10:07:09 +0000
commit0d8e7b38c7f477433799aba06250fa61ba8f327c (patch)
treeee0c837b124e764dab15fd0160f1579dc31907d8
parente63e52aca79f0a0a245b32d4507bb657e6c92288 (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: I8b5eeb11121436d6be27b11c12ff1be8b9ac6f2e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 08b55bf99e86af349263b4e34546a8c9f2a889ff) 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 03a28b05..4821dff4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,7 @@ set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Quick Qml Gui Widgets Network Test DBus SerialPort QuickTest)
+qt_internal_project_setup()
if(WASM)
message(NOTICE "Skipping the build as the condition \"NOT WASM\" is not met.")