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 23:49:33 +0900 |
commit | 0b24fa8528679886cc378b4a8e623b4d030280ca (patch) | |
tree | 7f246a5ea9d670b948db35786dc478e8ce50f51a | |
parent | b7646ef6f89f68b800f64c08b6a3bb53bd75cf9b (diff) | |
download | tdemultimedia-0b24fa8528679886cc378b4a8e623b4d030280ca.tar.gz tdemultimedia-0b24fa8528679886cc378b4a8e623b4d030280ca.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 22ba8866a9753d13204f500475d21f8051c17bac)
-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 ) |