diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:05:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 15:56:57 +0900 |
commit | 35996c445685bd9c0b7ff8344ec3e6c0b33ca3d1 (patch) | |
tree | 56c6472b0ea8aae2de248b72b6f7b052e7e643e5 | |
parent | aca334a2f78ffa7775f8d7b2a71fcb595341bdae (diff) | |
download | tdenetworkmanager-35996c445685bd9c0b7ff8344ec3e6c0b33ca3d1.tar.gz tdenetworkmanager-35996c445685bd9c0b7ff8344ec3e6c0b33ca3d1.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 566aedf3da00a78238c7d4ebc5337aa5a83202ae)
-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 e0b1b56..0176702 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 6d25530..5e2a506 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 ##################### @@ -34,11 +39,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |