diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:13:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 17:20:49 +0900 |
commit | 0baab28642179f8951df2683a74cb39991a26363 (patch) | |
tree | 8fdb945feec83cc98e3b447c4f317295a3979b05 | |
parent | 738aeee45b1bc464953415f2c89242bf81a8380f (diff) | |
download | tde-style-qtcurve-0baab28642179f8951df2683a74cb39991a26363.tar.gz tde-style-qtcurve-0baab28642179f8951df2683a74cb39991a26363.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 722c1fb54e6a2758cc0aab798b31de73e61a6d40)
-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 ) |