summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2017-09-03 11:31:56 +0200
committerElvis Angelaccio <[email protected]>2017-09-03 11:31:56 +0200
commit501612b94cd91af28a1768599c7c1311f6b65ce3 (patch)
tree3bc3aede4fb109d4aefa1d3e25e2dc0af935a1cd
parentc1a7f07d4629055c8b216411d7ba2caef084edf1 (diff)
Set version in project()
This enables automatic bugzilla versions (see [1]). [1]: https://community.kde.org/Guidelines_and_HOWTOs/Application_Versioning#Bugzilla_versions
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 80c3f14..2927228 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,12 +1,11 @@
-project(kio-extras)
+cmake_minimum_required(VERSION 3.0)
# KDE Applications Version, managed by release script
set (KDE_APPLICATIONS_VERSION_MAJOR "17")
set (KDE_APPLICATIONS_VERSION_MINOR "11")
set (KDE_APPLICATIONS_VERSION_MICRO "70")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
-
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+project(kio-extras VERSION ${KDE_APPLICATIONS_VERSION})
include(FeatureSummary)