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 20:47:58 +0900
commit127b7afb853dadd41932a945601f82f3529bcf48 (patch)
tree1bf185675cd21e5cea7a957f61037bf7d07f4dc8
parentffb0e63ea4fd44ade4c02729700a0719b12acf06 (diff)
downloadtqtinterface-127b7afb853dadd41932a945601f82f3529bcf48.tar.gz
tqtinterface-127b7afb853dadd41932a945601f82f3529bcf48.zip
Use centralized cmake versionr14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c65fd65e2fddd5fb7d176d9fd776ca650608fd3d)
-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}" )