mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
libftdi1: require cmake >= 3.10 due to removed legacy support
Link: https://github.com/openwrt/packages/issues/27607
Link: 1b48ebd31c
Signed-off-by: Mark Mentovai <mark@mentovai.com>
This commit is contained in:
committed by
Hannu Nyman
parent
b68f1c8c04
commit
0c3c63055b
11
libs/libftdi1/patches/001-cmake-version.patch
Normal file
11
libs/libftdi1/patches/001-cmake-version.patch
Normal file
@@ -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)
|
||||||
|
|
||||||
Reference in New Issue
Block a user