Commit bd19f55e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Tell cmake our version

This way scripts that parse it (like the script that automatically adds
new versions to bugzilla) can use it
parent ef1dee81
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
project(kdf)
# KDE Application Version, managed by release script
set (RELEASE_SERVICE_VERSION_MAJOR "21")
set (RELEASE_SERVICE_VERSION_MINOR "07")
set (RELEASE_SERVICE_VERSION_MICRO "80")
set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(kdf VERSION ${RELEASE_SERVICE_VERSION})
if(NOT UNIX)
message(FATAL_ERROR "kdf is only supposed to be built on Unix platforms.")
endif(NOT UNIX)
......
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