diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:10:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 21:32:05 +0900 |
commit | 75a5067c0841ed7a189c5cad4b80f910eb565464 (patch) | |
tree | 5eeee0f848e625d55fdbfb1220f91c780e9f872f | |
parent | 629af4d168c5de2ea1f7f6a0cb222030028765c0 (diff) | |
download | tdeio-gopher-75a5067c0841ed7a189c5cad4b80f910eb565464.tar.gz tdeio-gopher-75a5067c0841ed7a189c5cad4b80f910eb565464.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 51ca89559f0308f039643db19986078791e01834)
-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 577a3e3..c94f012 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( FindPkgConfig ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |