summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2017-09-03 11:44:56 +0200
committerElvis Angelaccio <[email protected]>2017-09-03 11:44:56 +0200
commitf88167a2064d3dfb398208f121de13afdec368cc (patch)
tree3bee6b49155016f3fe0971722b69129f59921493
parentef8364f820c6ba6b361f3a527318b9a3999b4d63 (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.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f2c172a..e5eebd2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,12 +1,12 @@
-project(kwalletmanager5)
+cmake_minimum_required(VERSION 3.0)
# KDE Application 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}")
+project(kwalletmanager5 VERSION ${KDE_APPLICATIONS_VERSION})
-cmake_minimum_required(VERSION 2.8.12)
set(KF5_VERSION "5.24.0")
find_package(ECM ${KF5_VERSION} REQUIRED NO_MODULE)