Use centralized cmake version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 95002e69cd)
pull/271/head
Michele Calgaro 8 months ago
parent 773b8e234e
commit 1f956046d6
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 #################

@ -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 ##################### ##### general package setup #####################
@ -40,11 +45,6 @@ include( TDEMacros )
include( TDESetupPaths ) include( TDESetupPaths )
##### set version number ########################
tde_set_project_version( )
##### setup and find essential stuff ############ ##### setup and find essential stuff ############
tde_setup_paths( ) tde_setup_paths( )

@ -1,5 +1,10 @@
cmake_minimum_required( VERSION 3.5 ) ##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
project(MD4C C) project(MD4C C)
set(MD_VERSION_MAJOR 0) set(MD_VERSION_MAJOR 0)

Loading…
Cancel
Save