summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:09:30 +0900
committerMichele Calgaro <[email protected]>2024-03-17 21:29:56 +0900
commitac5f06e51675969f0ab2c18a85d4556cb0e96f8b (patch)
treef97283b257d7539dd5dc30cfe648faa9cd0ded99 /CMakeLists.txt
parent9f512be4d2991cc4b28345ce839a23e5de1e319c (diff)
downloadtdedocker-ac5f06e51675969f0ab2c18a85d4556cb0e96f8b.tar.gz
tdedocker-ac5f06e51675969f0ab2c18a85d4556cb0e96f8b.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 565e787d2cb57c5598b526bf5318976494078417)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53f484e..16d87bb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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 #####################
@@ -34,11 +39,6 @@ include( FindPkgConfig )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )