summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:22:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:22:36 +0900
commit20cbecd59f98a6293e8089379acbddc6c9eaa214 (patch)
treea60ec6af1dc03bbb654ae1f51cdc320754d7781c /CMakeLists.txt
parentafbc1b43ec2ba8f3c1b0ace9116d913ca2aa9f74 (diff)
downloaddbus-tqt-20cbecd59f98a6293e8089379acbddc6c9eaa214.tar.gz
dbus-tqt-20cbecd59f98a6293e8089379acbddc6c9eaa214.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 11 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7eff7cb..37fea1c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,12 +9,20 @@
#
#################################################
-project( dbus-tqt-1 )
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+tde_set_project_version( )
+
+
+##### general package setup #####################
-##### cmake setup ###############################
+project( dbus-tqt-1 )
-cmake_minimum_required( VERSION 3.5 )
+
+##### include essential cmake modules ###########
include( FindPkgConfig )
include( CheckCXXSourceCompiles )
@@ -24,11 +32,6 @@ include( TDEMacros )
include( ConfigureChecks.cmake )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### install paths setup #######################
tde_setup_install_path( EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" )