summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-06-22 10:59:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-06-22 11:01:24 +0900
commit169c46122d3f3d13e35406c161d7c54e5e26c513 (patch)
treecc249fba956bca66168ad3e5c649ab925156252b /template
parenta569cfbd82cf94ec2df997f89bd96fbf77d8016f (diff)
downloadtde-i18n-169c46122d3f3d13e35406c161d7c54e5e26c513.tar.gz
tde-i18n-169c46122d3f3d13e35406c161d7c54e5e26c513.zip
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e)
Diffstat (limited to 'template')
-rw-r--r--template/commonCMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
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 )