summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:24:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 12:07:39 +0900
commitc65fd65e2fddd5fb7d176d9fd776ca650608fd3d (patch)
treea2d2b9c113308750f2b83e3be4c72a52151dc2de
parent6b9fad0aaadfb43f5ca276087e0a6f84974241b1 (diff)
downloadtqtinterface-c65fd65e2fddd5fb7d176d9fd776ca650608fd3d.tar.gz
tqtinterface-c65fd65e2fddd5fb7d176d9fd776ca650608fd3d.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7b4445..3d1fb60 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
@@ -40,11 +45,6 @@ include( GNUInstallDirs OPTIONAL )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### install paths setup
tde_setup_install_path( EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" )