summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-05-19 15:33:46 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-05-20 11:57:20 +0000
commit8e9ec7f7d45b9d06fe8c8296f0ace6e8dbb79021 (patch)
tree9860df45e9633592a3e1c0d36009de87eb97c6d8
parent0395b9956e427396f8f167d3946fe20136fc3e7c (diff)
downloadqtsvg-8e9ec7f7d45b9d06fe8c8296f0ace6e8dbb79021.tar.gz
Use fixed qt_add_resource BASE argument
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> (cherry picked from commit 6fc5e9ad484720e1d16699c2eff1c320a340646c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--CMakeLists.txt3
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