summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:11:52 +0900
committerMichele Calgaro <[email protected]>2024-03-15 11:11:52 +0900
commit950ee6bb197fd2df76a8e108ad71b10d8289b3a9 (patch)
treec42e14f2fc92111e1b78221e53802240777b97dd
parent44e4d73df1c49c73cc1bc5dfd31805b232da79b4 (diff)
downloadgtk3-tqt-engine-950ee6bb197fd2df76a8e108ad71b10d8289b3a9.tar.gz
gtk3-tqt-engine-950ee6bb197fd2df76a8e108ad71b10d8289b3a9.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 76fa2c2..edce73a 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
@@ -31,11 +35,6 @@ include( TDEMacros )
enable_testing( )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )