diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:03:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 11:18:37 +0900 |
commit | 48a28f804c1ff030e52e9902dba0fb03ab0061b2 (patch) | |
tree | fb19f01dc83f4224139d9223cca62b5ef3420e3b | |
parent | a7d0c9e487de9ae8c41d16c6da218151e3412cf3 (diff) | |
download | tellico-48a28f804c1ff030e52e9902dba0fb03ab0061b2.tar.gz tellico-48a28f804c1ff030e52e9902dba0fb03ab0061b2.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 ) |