From e884ec2ace1f5fe5f783e1802a1a91784c363ff3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 22 Jun 2022 12:49:03 +0900 Subject: Use TDE cmake macro to set version Signed-off-by: Michele Calgaro --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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") -- cgit v1.2.1