Use centralized cmake version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 8 months ago
parent 1e8d02e856
commit f8cba5a902
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -9,7 +9,12 @@
#
#################################################
cmake_minimum_required( VERSION 3.5 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### general package setup #####################
@ -27,11 +32,6 @@ include( FindPkgConfig ) # required for find_package( TDE )
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### find required stuff #######################
find_package( TDE )

@ -12,7 +12,12 @@
#
#################################################
cmake_minimum_required( VERSION 3.5 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### general package setup #####################

Loading…
Cancel
Save