diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-05-19 15:33:46 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-05-20 13:42:47 +0200 |
commit | 6fc5e9ad484720e1d16699c2eff1c320a340646c (patch) | |
tree | 1987b13691c59f0f6dcddc33c3b47cb6348c8f20 /CMakeLists.txt | |
parent | 85daecf0b17f7d54a8158e6caddc731c9718a037 (diff) | |
download | qtsvg-6fc5e9ad484720e1d16699c2eff1c320a340646c.tar.gz |
Use fixed qt_add_resource BASE argument
Pick-to: 6.1
Task-number: QTBUG-86726
Change-Id: Ib2d2c13754ca2aef8ea419181215140f348eb6b6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@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 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 |