diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:17:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:17:10 +0900 |
commit | a4bf9eacf3c280abcd0abce4efc2092787d94392 (patch) | |
tree | 91ca9771d0f8d24e967b661240c37a793aa653db | |
parent | 90abc79efa3d7ca6ac10c5f3bc329ec128008523 (diff) | |
download | libtdevnc-a4bf9eacf3c280abcd0abce4efc2092787d94392.tar.gz libtdevnc-a4bf9eacf3c280abcd0abce4efc2092787d94392.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | CMakeLists.txt | 8 |
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 ) |