diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 10:59:30 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 10:59:55 +0900 |
commit | b8498ebaee72597c00bc25d4427a25644d5d62f1 (patch) | |
tree | cb5481b4429149ab9139dc27f7e8646c8bf7fe24 | |
parent | 854f6650e761a58c8cfcb908c139ec7c97074286 (diff) | |
download | k9copy-b8498ebaee72597c00bc25d4427a25644d5d62f1.tar.gz k9copy-b8498ebaee72597c00bc25d4427a25644d5d62f1.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | CMakeL10n.txt | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 17 |
2 files changed, 13 insertions, 10 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index 1f5aadf..8311491 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 190f69f..81fad97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,15 +7,19 @@ ############################################ -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 +##### general package setup project( k9copy ) -#### include essential cmake modules +##### include essential cmake modules include( FindPkgConfig ) include( CheckFunctionExists ) @@ -26,16 +30,11 @@ include( CheckCSourceCompiles ) include( CheckCXXSourceCompiles ) -#### include our cmake modules +##### include our cmake modules include( TDEMacros ) -##### set version number - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |