diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:13:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 11:18:07 +0900 |
commit | 722c1fb54e6a2758cc0aab798b31de73e61a6d40 (patch) | |
tree | dc49dbfb972bf8417f38162c4fb0f103eb380a42 | |
parent | 61f899bc4e80ae6aeed18a90fc04cecebfa700ad (diff) | |
download | tde-style-qtcurve-722c1fb54e6a2758cc0aab798b31de73e61a6d40.tar.gz tde-style-qtcurve-722c1fb54e6a2758cc0aab798b31de73e61a6d40.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | CMakeL10n.txt | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index 376bad1..5f7eef1 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -9,7 +9,11 @@ # ################################################# -cmake_minimum_required( VERSION 3.5 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) ##### include our cmake modules ################# diff --git a/CMakeLists.txt b/CMakeLists.txt index 30973a4..c45a5bf 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( ) ##### cpack configuration ####################### @@ -51,11 +56,6 @@ include( FindPkgConfig ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |