summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:22:46 +0900
committerMichele Calgaro <[email protected]>2024-03-15 11:22:46 +0900
commit51eb2b123355a045bb2c9778d0d6276fd940f7c4 (patch)
tree4b1f2d6ba97dc829372e755864a13c99379e1af6
parentef286ccbfc6c60bb81b39b3ad4316506f848448a (diff)
downloadlibart-lgpl-51eb2b123355a045bb2c9778d0d6276fd940f7c4.tar.gz
libart-lgpl-51eb2b123355a045bb2c9778d0d6276fd940f7c4.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ef79b5..245c495 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
@@ -35,11 +39,6 @@ include( CheckCSourceCompiles )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )