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:03 +0900
commite884ec2ace1f5fe5f783e1802a1a91784c363ff3 (patch)
treed3d29abdf0a278dc49dd1e6af87ddb1b7e91c046
parent27c18d9f81edde1bdf6594e762f8c9311ca2dd40 (diff)
downloadkbfx-e884ec2ace1f5fe5f783e1802a1a91784c363ff3.tar.gz
kbfx-e884ec2ace1f5fe5f783e1802a1a91784c363ff3.zip
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8f3777..c7fb976 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")