diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:21:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-15 11:50:02 +0900 |
commit | c8f39cc17ea72644bd0abc878085c56c007e7eeb (patch) | |
tree | 9865bada1ea31b84d3699ebd4bc53156a1862e66 | |
parent | f89bf02c54e9653b05ab7ea8431b91469afb1019 (diff) | |
download | akode-c8f39cc17ea72644bd0abc878085c56c007e7eeb.tar.gz akode-c8f39cc17ea72644bd0abc878085c56c007e7eeb.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index da859a8..c032cf2 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 @@ -35,11 +40,6 @@ include( CheckStructHasMember ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |