summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:05:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 13:08:30 +0900
commitda91bd60b8818c3a2b022b90dd6d133eb9c3186b (patch)
tree390c828ce53f309b780c0e3b69b77a4ffcb91787
parent95f2a2d8b59e13dcdcd7e58ed4ec8553f039b45e (diff)
downloadtde-guidance-da91bd60b8818c3a2b022b90dd6d133eb9c3186b.tar.gz
tde-guidance-da91bd60b8818c3a2b022b90dd6d133eb9c3186b.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fe9ca76..23e53a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,15 +10,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( tde-guidance )
-#### include essential cmake modules
+##### include essential cmake modules
include( FindPkgConfig )
include( CheckSymbolExists )
@@ -29,16 +33,11 @@ include( CheckCXXSourceCompiles )
include( CheckTypeSize )
-#### include our cmake modules
+##### include our cmake modules
include( TDEMacros )
-##### set version number
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )