diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-04-15 12:19:01 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-04-16 18:37:05 +0200 |
commit | 3ba6fe4b620f8147d3152e8ae33c3a0e6a360332 (patch) | |
tree | 5c2a44c201f42907a1d8e9730141e8ef1fd24743 /src/imports/workerscript/CMakeLists.txt | |
parent | fe83d6afe557ac4b08e72899942f0422983c67ce (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: I5a7a09baf81353558e512800746ac24e8e8b9a47
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit cd7bd71d08f1c21648756d0a9fd501ce37a8cc0c)
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/imports/workerscript/CMakeLists.txt')
-rw-r--r-- | src/imports/workerscript/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/workerscript/CMakeLists.txt b/src/imports/workerscript/CMakeLists.txt index b2a6d0f444..2071a068c9 100644 --- a/src/imports/workerscript/CMakeLists.txt +++ b/src/imports/workerscript/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_qml_module(workerscriptplugin URI "QtQml.WorkerScript" - VERSION "${CMAKE_PROJECT_VERSION}" + VERSION "${PROJECT_VERSION}" DESIGNER_SUPPORTED CLASSNAME QtQmlWorkerScriptPlugin SKIP_TYPE_REGISTRATION |