Commit 921f8a83 authored by Heiko Becker's avatar Heiko Becker
Browse files

Pass the version to the project call

It not only makes the version available to CMAKE_PROJECT_VERSION, but
also it also makes automatically adding new versions to bugzilla work
[1].

[1] https://community.kde.org/Guidelines_and_HOWTOs/Application_Versioning

(cherry picked from commit 0a7996ec)
parent ad679972
cmake_minimum_required(VERSION 3.16)
project(xdg-desktop-portal-kde)
set(PROJECT_VERSION "5.22.2")
set(PROJECT_VERSION_MAJOR 5)
project(xdg-desktop-portal-kde VERSION ${PROJECT_VERSION})
set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.82")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment