diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-13 12:34:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-14 23:36:56 +0900 |
commit | 48488e36df3d656d1ecbf8f0bf2ff5f7fe28bec6 (patch) | |
tree | 1166282734219bbe92ab1d0503a8d0d873885118 | |
parent | 3a03ef43d4ad32c63e6455354b4d2f6f70a98079 (diff) | |
download | abakus-48488e36df3d656d1ecbf8f0bf2ff5f7fe28bec6.tar.gz abakus-48488e36df3d656d1ecbf8f0bf2ff5f7fe28bec6.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 84c135c77562c89519707cdbb4504db54d9fda38)
-rw-r--r-- | CMakeL10n.txt | 7 | ||||
-rw-r--r-- | CMakeLists.txt | 12 |
2 files changed, 12 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index e0b1b56..2fa0dbd 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.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( ) ##### include our cmake modules ################# diff --git a/CMakeLists.txt b/CMakeLists.txt index e45bebb..9733f87 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 ) |