diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:23:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 20:58:28 +0900 |
commit | 446ba00728d674e2d8d6484ab53640172514314d (patch) | |
tree | ec2c1381e43e8ca52a435d51514354efb5c0631d | |
parent | 0b5b2bf996777bcbe8c0d05586a32f1f9a5abfc0 (diff) | |
download | polkit-tqt-446ba00728d674e2d8d6484ab53640172514314d.tar.gz polkit-tqt-446ba00728d674e2d8d6484ab53640172514314d.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b2e6bdba6c685fd45d6a4417926a48e5ef9bc19f)
-rw-r--r-- | CMakeLists.txt | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bcfdcf32a..5b40d99c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,21 @@ # ################################################# -## Polkit TQt Library + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) + + +##### general package setup ##################### + project("polkit-tqt") + +##### include essential cmake modules ########### + set(POLKIT-TQT_VERSION_MAJOR 0) set(POLKIT-TQT_VERSION_MINOR 103) set(POLKIT-TQT_VERSION_PATCH 0) @@ -21,8 +33,6 @@ set(POLKIT-TQT_VERSION_STRING ##### cmake setup ############################### -cmake_minimum_required( VERSION 3.5 ) - include( FindPkgConfig ) include( CheckCXXSourceCompiles ) include( CheckSymbolExists ) @@ -31,11 +41,6 @@ include( TDEMacros ) enable_testing( ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### optional stuff option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) |