diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:21:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 23:51:04 +0900 |
commit | cc18811eeab4c46d322de677c0bbb76d0f1f864b (patch) | |
tree | 94ad7c0d3edaf32d1b41eef8b51b76c1ea9037ff | |
parent | 1fb4ee788e0f51324bd028b20076095fdfd882c2 (diff) | |
download | tdetoys-cc18811eeab4c46d322de677c0bbb76d0f1f864b.tar.gz tdetoys-cc18811eeab4c46d322de677c0bbb76d0f1f864b.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c251a41ac4571b306adf450620b89f452a240ac9)
-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 2c7e0f6..0e88a47 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 1f4694f..fde47f8 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 ##################### @@ -36,11 +41,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |