summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-04-15 12:57:24 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-04-15 14:55:06 +0200
commitc1930a76205123d67c5c4606ab71b21b6211336b (patch)
tree6bff83b51e35bedce72a849e2c480f5b212e4a51 /src
parent2ba4abf4fbfa759d08a61226e48bdd30d228c524 (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: I540849455689e22f954e4f6eeb1ae6a79a583795 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/datavisualizationqml2/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datavisualizationqml2/CMakeLists.txt b/src/datavisualizationqml2/CMakeLists.txt
index 2b191e41..098f2b77 100644
--- a/src/datavisualizationqml2/CMakeLists.txt
+++ b/src/datavisualizationqml2/CMakeLists.txt
@@ -1,6 +1,6 @@
qt_internal_add_qml_module(DataVisualizationQml2
URI "QtDataVisualization"
- VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
+ VERSION "1.${PROJECT_VERSION_MINOR}"
CLASSNAME QtDataVisualizationQml2Plugin
SKIP_TYPE_REGISTRATION
SOURCES