diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 10:58:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 21:10:34 +0900 |
commit | 38dcd2858229beb778f8a7bc651ace510e6c127e (patch) | |
tree | 7796c9aef0e40f0a6afb455063564afa212d6e2b | |
parent | 81d30b114236ea0c3940f988d4ed58eb102c8bc9 (diff) | |
download | codeine-38dcd2858229beb778f8a7bc651ace510e6c127e.tar.gz codeine-38dcd2858229beb778f8a7bc651ace510e6c127e.zip |
Use centralized cmake versionr14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e097d43a062e934c47c731197d37deef405a9a54)
-rw-r--r-- | CMakeL10n.txt | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 11 |
2 files changed, 10 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 24b4533..2bd940b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,11 @@ ############################################ -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 @@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |