Pass the version to the project call
It not only makes the version available to CMAKE_PROJECT_VERSION, but also makes automatically adding new versions to bugzilla work [1].
[1] https://community.kde.org/Guidelines_and_HOWTOs/Application_Versioning