summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:17:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 20:49:53 +0900
commit04669ff543c729c102cbfdd91a22aca5aca76419 (patch)
tree91ca9771d0f8d24e967b661240c37a793aa653db
parent303341217968004b7c658690e0d0649f2cd928d9 (diff)
downloadlibtdevnc-r14.1.x.tar.gz
libtdevnc-r14.1.x.zip
Use centralized cmake versionr14.1.2r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4bf9eacf3c280abcd0abce4efc2092787d94392)
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1a1175..0be6671 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +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( )
+
if( POLICY CMP0037 )
cmake_policy(SET CMP0037 NEW)
endif( POLICY CMP0037 )