Re: [PATCH] CMake: bump the minimal required version to 3.5

2023-12-21 Thread Thomas Jarosch
You wrote on Tue, Dec 12, 2023 at 02:20:36PM +0100:
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 985e658..2ce1ad4 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -1,4 +1,4 @@
> -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
> +cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

applied, thanks Yegor!

Cheers,
Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com   



[PATCH] CMake: bump the minimal required version to 3.5

2023-12-12 Thread yegorslists
From: Yegor Yefremov 

Older CMake versions are treated as deprecated.
---
 CMakeLists.txt| 2 +-
 examples/cmake_example/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 985e658..2ce1ad4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
 
 message(STATUS "CMake version: ${CMAKE_VERSION}")
 
diff --git a/examples/cmake_example/CMakeLists.txt 
b/examples/cmake_example/CMakeLists.txt
index 36002df..7d60693 100644
--- a/examples/cmake_example/CMakeLists.txt
+++ b/examples/cmake_example/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
 
 project ( example C )
 
-- 
2.34.1


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com