Use centralized cmake version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/36/head
Michele Calgaro 8 months ago
parent 99dece18ab
commit 6e53378716
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( )
##### include our cmake modules ################# ##### include our cmake modules #################

@ -10,7 +10,11 @@
########################################### ###########################################
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 ##### general package setup
@ -32,11 +36,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros ) include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths ##### setup install paths
include( TDESetupPaths ) include( TDESetupPaths )

Loading…
Cancel
Save