From 4ea5a0b72323614c436f8e8f03d4da64745247c2 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 17 May 2021 11:57:33 +0200 Subject: Use fixed qt_add_resource BASE argument Fixes: QTBUG-93849 Task-number: QTBUG-86726 Change-Id: If6e1033642d98ccd40daeb57a453c0e5bc2985da Reviewed-by: Alexandru Croitor Reviewed-by: Qt CI Bot (cherry picked from commit 1917a868d9bbd6c916e2a54cad6ad28780f73f34) --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index fd17f4a3c1..b8e843afb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ project(QtDeclarative # special case # special case begin # Make sure we only use latest private CMake API, aka no compatibility wrappers. set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE) + +# Make sure we use the fixed BASE argument of qt_add_resource. +set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) # special case end find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case -- cgit v1.2.3