summaryrefslogtreecommitdiffstats
path: root/template/commonCMakeLists.txt
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 10:59:53 +0900
commitbf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e (patch)
tree2cd4faeeb3624fe07cb0ec57a54fca775786dc93 /template/commonCMakeLists.txt
parent1374e49c4e3bf5e1467cb83b243a03453b41d6a9 (diff)
downloadtde-i18n-bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e.tar.gz
tde-i18n-bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e.zip
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'template/commonCMakeLists.txt')
-rw-r--r--template/commonCMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/commonCMakeLists.txt b/template/commonCMakeLists.txt
index d4b49416ad9..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.1.0 )
##### 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 )