diff options
author | Michele Calgaro <[email protected]> | 2024-03-15 11:04:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-17 21:20:01 +0900 |
commit | 051fc70b8b98a3ef19fc8d0b306b36ec2a9df97a (patch) | |
tree | 61b3c4f7a273a84ac56a2ec316a6d8838a69d969 | |
parent | b80fb3b78c976c73612ed23a4d04fa355e03f310 (diff) | |
download | kiosktool-051fc70b8b98a3ef19fc8d0b306b36ec2a9df97a.tar.gz kiosktool-051fc70b8b98a3ef19fc8d0b306b36ec2a9df97a.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 22677fafe9d839253c06593a06b5b426a5c170e8)
-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 e0b1b56..0176702 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 830cbff..50d94a2 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 @@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) |