summaryrefslogtreecommitdiffstats
path: root/src/datavisualizationqml2/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-04-15 12:57:24 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-15 20:44:27 +0000
commit40a617c3b4291258981a3fe5ba904e68b6bcb615 (patch)
treebb5d9b9e785b7f5a14f6842bb41d92e832a369cc /src/datavisualizationqml2/CMakeLists.txt
parent24f77857e3ac9f555bfe66e0964c10fc19bc5a40 (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. Task-number: QTBUG-92861 Change-Id: I540849455689e22f954e4f6eeb1ae6a79a583795 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit c1930a76205123d67c5c4606ab71b21b6211336b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/datavisualizationqml2/CMakeLists.txt')
-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