diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:19:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 23:48:42 +0900 |
commit | 97c7b6674f8e93b0851d51a67e58a6c72a00457b (patch) | |
tree | 9ec888a3e3f96779a3b44186af0b484fc6570987 /CMakeLists.txt | |
parent | b81117094f6118324df215ad1893d0ff2cb79747 (diff) | |
download | tdebase-97c7b6674f8e93b0851d51a67e58a6c72a00457b.tar.gz tdebase-97c7b6674f8e93b0851d51a67e58a6c72a00457b.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7600dc73ffc3d294af78472c9e6f01358e9aeb8e)
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 a7de8d9a3..a8321e9be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,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 ##################### @@ -40,11 +45,6 @@ include( CheckTypeSize ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |