diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 10:59:30 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 15:51:55 +0900 |
commit | 21f900e2b633fcd6044b59e9c429e581eadbe7fc (patch) | |
tree | ee05d437f90650904dfa8cd1e2398ee091baed9b /CMakeLists.txt | |
parent | 65ffe0c55b897e60e01221ab2269dcb9a9de1e8a (diff) | |
download | k9copy-0c91fe16c3f1847214c3591a8b2c0ca1dc066cde.tar.gz k9copy-0c91fe16c3f1847214c3591a8b2c0ca1dc066cde.zip |
Use centralized cmake versionr14.1.2
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b8498ebaee72597c00bc25d4427a25644d5d62f1)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 8 insertions, 9 deletions
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 ) |