Commit ae8874fe authored by Heiko Becker's avatar Heiko Becker
Browse files

build: Pass release service version to project()

Lets cmake know about the version and allows to automatically add
new versions to bugzilla.
parent df1a7c1a
Pipeline #148542 passed with stage
in 1 minute and 2 seconds
cmake_minimum_required(VERSION 3.16.0)
project(kamera)
# KDE Application Version, managed by release script
set (RELEASE_SERVICE_VERSION_MAJOR "22")
......@@ -8,6 +7,8 @@ set (RELEASE_SERVICE_VERSION_MICRO "70")
set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
set(PROJECT_VERSION ${RELEASE_SERVICE_VERSION})
project(kamera VERSION ${PROJECT_VERSION})
set(KF5_MIN_VERSION "5.91.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR})
......
Markdown is supported
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