diff --git a/libs/libftdi1/patches/001-cmake-version.patch b/libs/libftdi1/patches/001-cmake-version.patch new file mode 100644 index 0000000000..b3d572d61f --- /dev/null +++ b/libs/libftdi1/patches/001-cmake-version.patch @@ -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) +