From 8e9ec7f7d45b9d06fe8c8296f0ace6e8dbb79021 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 19 May 2021 15:33:46 +0200 Subject: Use fixed qt_add_resource BASE argument Task-number: QTBUG-86726 Change-Id: Ib2d2c13754ca2aef8ea419181215140f348eb6b6 Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor (cherry picked from commit 6fc5e9ad484720e1d16699c2eff1c320a340646c) Reviewed-by: Qt Cherry-pick Bot --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a4e77a..86c3f8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ project(QtSvg # 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.1