Build: Add CMake 4.0.0 support

pull/64/merge
Kyle Schwarz 2025-03-31 15:56:14 -04:00
parent 2209e348a3
commit 830fe1af59
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.2)
project(fatfs VERSION 0.14.1) # R0.14b
add_library(fatfs

View File

@ -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)