Use centralized cmake version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/33/head
Michele Calgaro 9 months ago
parent e6473e544e
commit 148fc9293d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -9,7 +9,11 @@
# #
################################################# #################################################
cmake_minimum_required( VERSION 3.5 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules ################# ##### include our cmake modules #################

@ -7,7 +7,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
@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros ) include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### get the system's default path for libraries ##### get the system's default path for libraries
tde_save_and_set( CMAKE_INSTALL_PREFIX "/usr" ) tde_save_and_set( CMAKE_INSTALL_PREFIX "/usr" )

Loading…
Cancel
Save