diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 10:56:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 21:08:58 +0900 |
commit | 9ee916104e8722573fb750160abf17d6346a7c91 (patch) | |
tree | cc754510c507a283e14b89616f02abbf4b50cd49 /CMakeLists.txt | |
parent | 035f1d6c3022e1186d5019c7d41c29e7e1ce22d0 (diff) | |
download | smb4k-9ee916104e8722573fb750160abf17d6346a7c91.tar.gz smb4k-9ee916104e8722573fb750160abf17d6346a7c91.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit cb4c5cd75f2943ecd2f599862183baa2f3d0964a)
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 dfc902a..5245a6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,15 +10,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( smb4k ) -#### include essential cmake modules +##### include essential cmake modules include( FindPkgConfig ) include( CheckSymbolExists ) @@ -29,16 +33,11 @@ include( CheckCXXSourceCompiles ) include( CheckTypeSize ) -#### include our cmake modules +##### include our cmake modules include( TDEMacros ) -##### set version number - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |