Browse Source

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>
pull/7145/head
Damien George 4 years ago
parent
commit
df4e9bdf5c
  1. 2
      ports/esp32/CMakeLists.txt

2
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})

Loading…
Cancel
Save