diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:16:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 11:14:44 +0900 |
commit | dccc47224fe999ff713908dbeca828ca3303f1e4 (patch) | |
tree | 5dbc40d8bdfd8716b80470de99be233ccd5f55f3 | |
parent | ac780eb36ae0d6acff4689e1356b8d335096268c (diff) | |
download | mathemagics-dccc47224fe999ff713908dbeca828ca3303f1e4.tar.gz mathemagics-dccc47224fe999ff713908dbeca828ca3303f1e4.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
-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 ) |