diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:09:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 21:29:09 +0900 |
commit | f436ed2751648c01276bb9a8cf1c8ac978978737 (patch) | |
tree | d560a0d33a72fa114d1763dfb33a733d3753fe08 | |
parent | c82acb8f6310b8d03314c17a9922e413664c61c2 (diff) | |
download | tdebluez-f436ed2751648c01276bb9a8cf1c8ac978978737.tar.gz tdebluez-f436ed2751648c01276bb9a8cf1c8ac978978737.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bbf20379026ccb8f29b7adb5a53a47d679757f92)
-rw-r--r-- | CMakeL10n.txt | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index b2b4d58..55eeda8 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -9,7 +9,11 @@ # ################################################# -cmake_minimum_required( VERSION 3.5 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) ##### include our cmake modules ################# diff --git a/CMakeLists.txt b/CMakeLists.txt index 341ce09..d436017 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 ##################### @@ -33,11 +38,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) tde_setup_paths( ) |