Commit 415fd1c5 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Set the project version also at the cmake level

This helps things like the script that automatically adds the bugzilla version to actually be able to see the version
parent cd80259d
Pipeline #70786 passed with stage
in 6 minutes and 9 seconds
......@@ -9,17 +9,17 @@
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
project(rocs LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# 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(rocs LANGUAGES CXX VERSION ${RELEASE_SERVICE_VERSION})
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(ECM 5.40.0 REQUIRED NO_MODULE)
find_package(KF5DocTools)
find_package(Boost "1.49" REQUIRED)
......
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