diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:21:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 23:51:04 +0900 |
commit | cc18811eeab4c46d322de677c0bbb76d0f1f864b (patch) | |
tree | 94ad7c0d3edaf32d1b41eef8b51b76c1ea9037ff /CMakeLists.txt | |
parent | 1fb4ee788e0f51324bd028b20076095fdfd882c2 (diff) | |
download | tdetoys-cc18811eeab4c46d322de677c0bbb76d0f1f864b.tar.gz tdetoys-cc18811eeab4c46d322de677c0bbb76d0f1f864b.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c251a41ac4571b306adf450620b89f452a240ac9)
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 1f4694f..fde47f8 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 ##################### @@ -36,11 +41,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |