summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
-rw-r--r--template/commonCMakeLists.txt6
2 files changed, 10 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2c9793cef98..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.0.13 )
##### 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 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 )