diff options
-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 ) |