Use TDE cmake macro to set version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/38/head
Michele Calgaro 2 years ago
parent 1374e49c4e
commit bf75ce9b7f
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.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 )

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

Loading…
Cancel
Save