diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:16:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 23:10:23 +0900 |
commit | 8456c4b8ef1db3ee3994a2c340b939a41124e698 (patch) | |
tree | 5dbc40d8bdfd8716b80470de99be233ccd5f55f3 | |
parent | b3a2c4d9920c6bbe1aed9fb09aa8d29e6c7e98f0 (diff) | |
download | mathemagics-8456c4b8ef1db3ee3994a2c340b939a41124e698.tar.gz mathemagics-8456c4b8ef1db3ee3994a2c340b939a41124e698.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dccc47224fe999ff713908dbeca828ca3303f1e4)
-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 181ccd3..9ffa706 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 d476fd1..b4ce450 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,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 @@ -30,11 +35,6 @@ include( FindPkgConfig ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |