Use centralized cmake version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b8498ebaee)
r14.1.x r14.1.2
Michele Calgaro 8 months ago
parent 65ffe0c55b
commit 21f900e2b6
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 #################

@ -7,15 +7,19 @@
############################################
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
project( k9copy )
#### include essential cmake modules
##### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
@ -26,16 +30,11 @@ include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
##### include our cmake modules
include( TDEMacros )
##### set version number
tde_set_project_version( )
##### setup install paths
include( TDESetupPaths )

Loading…
Cancel
Save