summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-06-22 12:49:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-06-22 12:49:42 +0900
commitdaa4ead8fd19863a6eb15ad9908761eae85b055a (patch)
tree08cc085d360c15beb3c0c8513a3a7c467c061d86
parent01852ea7118e640ebab5966739babe6cbb64cf5b (diff)
downloadkbfx-daa4ead8fd19863a6eb15ad9908761eae85b055a.tar.gz
kbfx-daa4ead8fd19863a6eb15ad9908761eae85b055a.zip
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e884ec2ace1f5fe5f783e1802a1a91784c363ff3)
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2195df6..8b5b337 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,11 @@ include( FindPkgConfig )
include( TDEMacros )
+##### set version number ########################
+
+tde_set_project_version( )
+
+
##### setup install paths #######################
include( TDESetupPaths )
@@ -64,7 +69,7 @@ ELSE (APPLICATION_APPLICATION_STABLE "")
SET(GENTOO_VERSION "${APPLICATION_MAIN_VERSION}_pre${LIB_SUB_RELEASE}")
ENDIF (APPLICATION_STABLE)
-SET(VERSION ${APPLICATION_VERSION})
+SET(PACKAGE_VERSION ${APPLICATION_VERSION})
SET(STRIGI_VERSION "0.3.11")
SET(GENTOO_KEYWORDS "x86 ~ppc ~amd64")