diff options
author | Michele Calgaro <[email protected]> | 2022-06-22 10:59:34 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-06-22 10:59:53 +0900 |
commit | bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e (patch) | |
tree | 2cd4faeeb3624fe07cb0ec57a54fca775786dc93 | |
parent | 1374e49c4e3bf5e1467cb83b243a03453b41d6a9 (diff) | |
download | tde-i18n-bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e.tar.gz tde-i18n-bf75ce9b7f33cb6bc2359aba10b0a3211bcbcd3e.zip |
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | template/commonCMakeLists.txt | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b598df3e131..e91b0e64f0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,6 @@ cmake_minimum_required( VERSION 3.1 ) ##### general package setup ##################### project( tde-i18n ) -set( VERSION R14.1.0 ) ##### include essential cmake modules ########### @@ -28,6 +27,11 @@ include( FindPkgConfig ) # required for find_package( TDE ) include( TDEMacros ) +##### set version number ######################## + +tde_set_project_version( ) + + ##### find required stuff ####################### find_package( TDE ) 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 ) |