libftdi1: require cmake >= 3.10 due to removed legacy support
authorMark Mentovai <[email protected]>
Wed, 5 Nov 2025 16:34:07 +0000 (11:34 -0500)
committerHannu Nyman <[email protected]>
Thu, 6 Nov 2025 05:35:38 +0000 (07:35 +0200)
Link: https://github.com/openwrt/packages/issues/27607
Link: https://github.com/openwrt/openwrt/commit/1b48ebd31c28f5b2ad3f964c25f34d33badbb979
Signed-off-by: Mark Mentovai <[email protected]>
libs/libftdi1/patches/001-cmake-version.patch [new file with mode: 0644]

diff --git a/libs/libftdi1/patches/001-cmake-version.patch b/libs/libftdi1/patches/001-cmake-version.patch
new file mode 100644 (file)
index 0000000..b3d572d
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -12,7 +12,7 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "")
+    set(CMAKE_BUILD_TYPE     RelWithDebInfo)
+ endif("${CMAKE_BUILD_TYPE}" STREQUAL "")
+ set(CMAKE_COLOR_MAKEFILE ON)
+-cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10)
+ add_definitions(-Wall)