diff --git a/third-party/fatfs/CMakeLists.txt b/third-party/fatfs/CMakeLists.txt index c165aaa..b0cc4ed 100644 --- a/third-party/fatfs/CMakeLists.txt +++ b/third-party/fatfs/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.2) project(fatfs VERSION 0.14.1) # R0.14b add_library(fatfs diff --git a/third-party/libftdi/CMakeLists.txt b/third-party/libftdi/CMakeLists.txt index 9b6237a..57f739b 100644 --- a/third-party/libftdi/CMakeLists.txt +++ b/third-party/libftdi/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.16 FATAL_ERROR) add_definitions(-Wall)