From 607e8ca1804ffb6fd0ab1f6e77c691e6fe4348d5 Mon Sep 17 00:00:00 2001 From: Rhys Mainwaring Date: Thu, 12 Dec 2024 10:46:18 +0000 Subject: [PATCH] AP_HAL_ESP32: update cmake minimum version - The ESP32 API guide states the cmake version must be 3.16 or greater. Signed-off-by: Rhys Mainwaring --- libraries/AP_HAL_ESP32/targets/esp32/esp-idf/CMakeLists.txt | 2 +- libraries/AP_HAL_ESP32/targets/esp32s3/esp-idf/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ESP32/targets/esp32/esp-idf/CMakeLists.txt b/libraries/AP_HAL_ESP32/targets/esp32/esp-idf/CMakeLists.txt index 32b77dd94fb90..0e2800f2ed26e 100644 --- a/libraries/AP_HAL_ESP32/targets/esp32/esp-idf/CMakeLists.txt +++ b/libraries/AP_HAL_ESP32/targets/esp32/esp-idf/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16) set(CMAKE_TOOLCHAIN_FILE $ENV{IDF_PATH}/tools/cmake/toolchain-esp32.cmake CACHE STRING "") diff --git a/libraries/AP_HAL_ESP32/targets/esp32s3/esp-idf/CMakeLists.txt b/libraries/AP_HAL_ESP32/targets/esp32s3/esp-idf/CMakeLists.txt index 8a63d422c509f..18981d4baf1ca 100644 --- a/libraries/AP_HAL_ESP32/targets/esp32s3/esp-idf/CMakeLists.txt +++ b/libraries/AP_HAL_ESP32/targets/esp32s3/esp-idf/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16) set(CMAKE_TOOLCHAIN_FILE $ENV{IDF_PATH}/tools/cmake/toolchain-esp32s3.cmake CACHE STRING "")