From 830fe1af59365181288dc9c974f23fc42391f029 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Mon, 31 Mar 2025 15:56:14 -0400 Subject: [PATCH] Build: Add CMake 4.0.0 support --- third-party/fatfs/CMakeLists.txt | 1 - third-party/libftdi/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)