diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:19:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 12:05:11 +0900 |
commit | 95002e69cdd4eca31825560a3e2d37fce0d9f651 (patch) | |
tree | 35698bfbd4afe983c02db0d6c7d333635b7b1d17 | |
parent | 8f539c5a7c3ee00427f9430e98d0abf37f5171d2 (diff) | |
download | tdelibs-95002e69cdd4eca31825560a3e2d37fce0d9f651.tar.gz tdelibs-95002e69cdd4eca31825560a3e2d37fce0d9f651.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | CMakeL10n.txt | 7 | ||||
-rw-r--r-- | CMakeLists.txt | 12 | ||||
-rw-r--r-- | tdemarkdown/md4c/CMakeLists.txt | 7 |
3 files changed, 18 insertions, 8 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index 01d8e094d..e88a77237 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.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( ) ##### include our cmake modules ################# diff --git a/CMakeLists.txt b/CMakeLists.txt index c1fce2310..631e7a5a7 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 ##################### @@ -40,11 +45,6 @@ include( TDEMacros ) include( TDESetupPaths ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup and find essential stuff ############ tde_setup_paths( ) diff --git a/tdemarkdown/md4c/CMakeLists.txt b/tdemarkdown/md4c/CMakeLists.txt index df4657473..c3f4bdaf1 100644 --- a/tdemarkdown/md4c/CMakeLists.txt +++ b/tdemarkdown/md4c/CMakeLists.txt @@ -1,5 +1,10 @@ -cmake_minimum_required( VERSION 3.5 ) +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) + project(MD4C C) set(MD_VERSION_MAJOR 0) |