diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:20:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 12:05:19 +0900 |
commit | 22ba8866a9753d13204f500475d21f8051c17bac (patch) | |
tree | a52b757379979f8f2b7aab409d0fe5096384ccff | |
parent | 2e8ad8b923787494b588ed8f978aac61a59803ef (diff) | |
download | tdemultimedia-22ba8866a9753d13204f500475d21f8051c17bac.tar.gz tdemultimedia-22ba8866a9753d13204f500475d21f8051c17bac.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 8ea5d4df..4447c926 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 7dc37467..2a4ae664 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 ##################### @@ -39,11 +44,6 @@ include( CheckSymbolExists ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |