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>
commitc1930a76205123d67c5c4606ab71b21b6211336b
parent2ba4abf4fbfa759d08a61226e48bdd30d228c524
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeThu, 15 Apr 2021 14:55:06 +0200