summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-05-19 15:33:46 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-05-21 14:48:06 +0200
commita15ff13dc0b15301a3f9e8eda5d9f881358a3355 (patch)
tree3c4465eac95226634e55e9c016e981fc2398ebaf /CMakeLists.txt
parent4e2cb598cd22cec6b2614514408aa4f24b094280 (diff)
downloadqtwayland-a15ff13dc0b15301a3f9e8eda5d9f881358a3355.tar.gz
Use fixed qt_add_resource BASE argument
Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: I83c9644bdb4e7cd3faf1659b080e0f623c1443b7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 642afabb..94afdcd1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,9 @@ set(QT_REPO_NOT_WARNINGS_CLEAN TRUE)
# 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)
+
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
BuildInternals
)