summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-04-15 12:55:39 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-04-20 10:28:28 +0200
commit6445002590f0ddc7c7fb9c65ef3079d21ac2e70f (patch)
treeaead89e9b908ed6465a6af3d17ad6a67d3906bb0 /src
parent5f4517b55cce8fe0b6afa5c4b8886e076bfaa124 (diff)
CMake: Fix qml module version to use the repo project version
Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION, so that the repo project version is used in a top-level build, rather than the version of the qt5 project. Pick-to: 6.1 Task-number: QTBUG-92861 Change-Id: I221e041ef2440dc2f20b0cc231ee63f029fa0e07 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/CMakeLists.txt b/src/imports/CMakeLists.txt
index 74cc75d..e47ec75 100644
--- a/src/imports/CMakeLists.txt
+++ b/src/imports/CMakeLists.txt
@@ -1,6 +1,6 @@
qt_internal_add_qml_module(lottieqtplugin
URI "Qt.labs.lottieqt"
- VERSION "${CMAKE_PROJECT_VERSION}"
+ VERSION "${PROJECT_VERSION}"
CLASSNAME BodymovinPlugin
SKIP_TYPE_REGISTRATION
SOURCES