From df4e9bdf5c69e36775de313b098651bbd97132a7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 22 Apr 2021 10:26:52 +1000 Subject: [PATCH] esp32/CMakeLists.txt: Require CMake version 3.12. Because "find_package(Python3 ...)" requires at least this version of CMake. And other features like GREATER_EQUAL and COMMAND_EXPAND_LISTS need at least CMake 3.7 and 3.8 respectively. Signed-off-by: Damien George --- ports/esp32/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/esp32/CMakeLists.txt b/ports/esp32/CMakeLists.txt index fa419202f9..29409adc74 100644 --- a/ports/esp32/CMakeLists.txt +++ b/ports/esp32/CMakeLists.txt @@ -1,6 +1,6 @@ # Top-level cmake file for building MicroPython on ESP32. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.12) # Set the location of this port's directory. set(MICROPY_PORT_DIR ${CMAKE_SOURCE_DIR})