diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:22:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-15 20:56:36 +0900 |
commit | ab0f29494c7fab04be4cc3afce878d7f4576b58c (patch) | |
tree | 9aa48221319c447bf25e83001afcf07a13fe0bd4 | |
parent | 008f34be1e5eda1ff09f042537068d7659dd7e00 (diff) | |
download | dbus-1-tqt-ab0f29494c7fab04be4cc3afce878d7f4576b58c.tar.gz dbus-1-tqt-ab0f29494c7fab04be4cc3afce878d7f4576b58c.zip |
Use centralized cmake versionr14.1.2
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 39160735cee72c3e5a3e8d672fd9f6cd39278c53)
-rw-r--r-- | CMakeLists.txt | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 51f18c8..f09103c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,12 +9,20 @@ # ################################################# -project( dbus-1-tqt ) +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) + + +##### general package setup ##################### -##### cmake setup ############################### +project( dbus-1-tqt ) -cmake_minimum_required( VERSION 3.5 ) + +##### include essential cmake modules ########### include( FindPkgConfig ) include( CheckCXXSourceCompiles ) @@ -23,11 +31,6 @@ include( CheckSymbolExists ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### optional stuff option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) |