diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 10:57:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-17 10:58:57 +0900 |
commit | c01004a0e309b0672a22d5a0efacd14b9c0afa9f (patch) | |
tree | 73582869d05294bb973748343847fdc738d04536 | |
parent | e8911a360bc24d9cd2e5bacd52f08cd978fb2ec1 (diff) | |
download | desktop-effects-tde-c01004a0e309b0672a22d5a0efacd14b9c0afa9f.tar.gz desktop-effects-tde-c01004a0e309b0672a22d5a0efacd14b9c0afa9f.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 | 11 |
2 files changed, 10 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index d82c05f..223d41c 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 df0dcb4..3d1cb82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,11 @@ ############################################ -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 @@ -25,11 +29,6 @@ include( FindPkgConfig ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |