From 5bedc7d7f51ea010257cdaa23d98cbb0c26aedc5 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Wed, 12 Apr 2023 15:04:15 +0200 Subject: 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 (cherry picked from commit 630d2636ada77db786c83744a737079aaf359c36) Reviewed-by: Qt Cherry-pick Bot --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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.") -- cgit v1.2.1