From 169c46122d3f3d13e35406c161d7c54e5e26c513 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 22 Jun 2022 10:59:34 +0900 Subject: Use TDE cmake macro to set version Signed-off-by: Michele Calgaro (cherry picked from commit bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e) --- template/commonCMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'template/commonCMakeLists.txt') diff --git a/template/commonCMakeLists.txt b/template/commonCMakeLists.txt index 02b3efccaf5..7ef1d99cc77 100644 --- a/template/commonCMakeLists.txt +++ b/template/commonCMakeLists.txt @@ -21,7 +21,6 @@ string( REGEX REPLACE ".*-([^-]*)$" "\\1" _lang ${CMAKE_CURRENT_SOURCE_DIR} ) message( STATUS "Configure for language ${_lang}" ) project( tde-i18n-${_lang} ) -set( VERSION R14.0.10 ) ##### include essential cmake modules ########### @@ -34,6 +33,11 @@ include( FindPkgConfig ) # required for find_package( TDE ) include( TDEMacros ) +##### set version number ######################## + +tde_set_project_version( ) + + ##### find required stuff ####################### find_package( TDE ) -- cgit v1.2.1