summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-04-12 15:04:15 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-02 16:46:52 +0000
commit5bedc7d7f51ea010257cdaa23d98cbb0c26aedc5 (patch)
tree3553cb3f2081ea5d3632f2516d1f0f81e3485623
parent7832b169a270537e19eb73b210b33d230e7cf98a (diff)
downloadqtwayland-5bedc7d7f51ea010257cdaa23d98cbb0c26aedc5.tar.gz
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: I88345a5f4ece934e66ffcaeab48edff3fed2d06e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 630d2636ada77db786c83744a737079aaf359c36) 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 095c6aac..6649dfcc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,7 @@ project(QtWayland # special case
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
BuildInternals
)
+qt_internal_project_setup()
if(NOT MACOS AND NOT QNX AND (ANDROID OR NOT LINUX))
message(NOTICE "Skipping the build as the condition \"LINUX OR MACOS OR QNX\" is not met.")