diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:20:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 23:54:02 +0900 |
commit | 5e8a11ec8bc09552cbee1e0dce1335c3b3518265 (patch) | |
tree | 383fd2b178e1bc96bf0badf37ecda94ae002768a | |
parent | 7ea1ab376908f6cffca204dc3b874ab2fef2a495 (diff) | |
download | tdesdk-5e8a11ec8bc09552cbee1e0dce1335c3b3518265.tar.gz tdesdk-5e8a11ec8bc09552cbee1e0dce1335c3b3518265.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d1785c1ced941bf0df898c7a657cc6cafa0e413b)
-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 970d8fda..fae88294 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 262d3482..72407428 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 ##################### @@ -35,11 +40,6 @@ include( CheckLibraryExists ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |