Use TDE cmake macro to set version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bf75ce9b7f)
r14.0.x
Michele Calgaro 2 years ago
parent a569cfbd82
commit 169c46122d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 )

@ -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 )

Loading…
Cancel
Save