diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-06-08 17:20:21 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-06-09 10:06:35 +0200 |
commit | 23e8bd463ea2a92b809af2c30e79097f0982c093 (patch) | |
tree | 5e8cfd505d8a26fa06860ac82e0b2579ea5c34c0 /CMakeLists.txt | |
parent | fb92cfebbc3ab088c92f773d8293083f41d2aff7 (diff) |
CMake: Use fixed qt_add_resource BASE argument
Task-number: QTBUG-86726
Change-Id: I5e96d2329ef048b31e182122b9cd86b6aa6ceaeb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ec2731d6b..1a8538b1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ project(QtMultimedia # 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 Core) find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Widgets Quick Qml QuickTest QuickControls2) |