diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:13:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 11:19:09 +0900 |
commit | 84216c4393ca8062558ff0f2d65cbb2bd5b8d863 (patch) | |
tree | 2c89d63ba644c02a4996cdef3a31c16ee33346f2 | |
parent | cebd5a1a05e8d50fc5c0d1fa35bd2480dd11e08e (diff) | |
download | twin-style-machbunt-84216c4393ca8062558ff0f2d65cbb2bd5b8d863.tar.gz twin-style-machbunt-84216c4393ca8062558ff0f2d65cbb2bd5b8d863.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 3c4ffcf..95a3e8f 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -6,7 +6,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 0f6222b..4ac70f9 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 ) |