summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <[email protected]>2015-07-13 20:44:40 +0200
committerMartin Klapetek <[email protected]>2015-07-13 20:44:40 +0200
commitdff2bd9db3c5dc2ebdc6d309cae01e26b226fcf8 (patch)
tree1560e3e964bf279cdf7f49f96cf8ba132acfa51a
parent61df159123f33ee7842d8d26cb16faba23303436 (diff)
Set versioning to be handled by the release script
-rw-r--r--CMakeLists.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6eff02..5681f48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,16 @@ set (CMAKE_MODULE_PATH
)
cmake_policy(SET CMP0002 OLD)
+# KDE Application Version, managed by release script
+set (KDE_APPLICATIONS_VERSION_MAJOR "15")
+set (KDE_APPLICATIONS_VERSION_MINOR "07")
+set (KDE_APPLICATIONS_VERSION_MICRO "80")
+
+# Bump for every 0.x release, or whenever BC changes
+set (KTP_SONUMBER 9) # SO 9 is for 15.08 release
+set (KTP_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
+set (KTP_MESSAGE_FILTER_FRAMEWORK_VERSION "5")
+
find_package (Qt5 REQUIRED CONFIG COMPONENTS
Qml
Test)
@@ -73,11 +83,6 @@ set_package_properties(telepathy-accounts-signon PROPERTIES
TYPE RUNTIME
)
-# Bump for every 0.x release, or whenever BC changes
-set (KTP_SONUMBER 9) # SO 9 is for 15.04 release
-set (KTP_VERSION "15.04.0")
-set (KTP_MESSAGE_FILTER_FRAMEWORK_VERSION "5")
-
add_definitions(-DKTP_MESSAGE_FILTER_FRAMEWORK_VERSION=\"${KTP_MESSAGE_FILTER_FRAMEWORK_VERSION}\")
add_definitions(-DTRANSLATION_DOMAIN=\"ktp-common-internals\")
add_definitions (