diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:09:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 11:17:23 +0900 |
commit | d586a58d890ee6b75fe2fba3bc3271f0d7fe22bd (patch) | |
tree | 1965e8884ef79f9a869d5cfa8fb628731c0f2176 /CMakeLists.txt | |
parent | 9b7728c17805ea9b45f60fbc20495dbeafd56925 (diff) | |
download | tdepowersave-d586a58d890ee6b75fe2fba3bc3271f0d7fe22bd.tar.gz tdepowersave-d586a58d890ee6b75fe2fba3bc3271f0d7fe22bd.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 43b4e4e..1d1089a 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 ##################### @@ -29,11 +34,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |