summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeL10n.txt7
-rw-r--r--CMakeLists.txt12
-rw-r--r--tdemarkdown/md4c/CMakeLists.txt7
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)