diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:24:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 17:14:56 +0900 |
commit | 6cc0476143b36a026bdad10faeb50a9ee7ab7ed1 (patch) | |
tree | e3381e6010b539b1a22bd610657741806a3457b2 | |
parent | a8723c31deef7e5ecc70fca8417f9561df8c890f (diff) | |
download | libkdcraw-r14.1.2.tar.gz libkdcraw-r14.1.2.zip |
Use centralized cmake versionr14.1.2
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 10f36e23e048228ddae1af3e11022cff23a56c5f)
-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 ec40e4d..a9c7e38 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 b60c0cd..1ab8ffe 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 @@ -32,11 +36,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |