summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-04-22 10:26:52 +1000
committerDamien George <damien@micropython.org>2021-04-23 23:03:03 +1000
commitdf4e9bdf5c69e36775de313b098651bbd97132a7 (patch)
tree43d42a77c63f00fcb495beea26e583f07e98b2b9
parent178198a01df51b5f4c5ef9f38ab2fb8f6269d5f4 (diff)
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 <damien@micropython.org>
-rw-r--r--ports/esp32/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/CMakeLists.txt b/ports/esp32/CMakeLists.txt
index fa419202f..29409adc7 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})