diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:03:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 15:55:07 +0900 |
commit | e8f457ac8cdb7bf07a350fab92eabc5c7dad655c (patch) | |
tree | bf2426de2c6be68481f1a706f83272134404bded | |
parent | ccc90afb8999280588e00964c83149faa0697c10 (diff) | |
download | tellico-e8f457ac8cdb7bf07a350fab92eabc5c7dad655c.tar.gz tellico-e8f457ac8cdb7bf07a350fab92eabc5c7dad655c.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 48a28f804c1ff030e52e9902dba0fb03ab0061b2)
-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 4466abe..3d50360 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 4604095..79257be 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 ##################### @@ -37,11 +42,6 @@ enable_testing() include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |