mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
facab8c5a7
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system. This is the version that provides most new features and also the one we use in our latest docker image for CI.
10 lines
280 B
CMake
10 lines
280 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
if((IDF_TARGET STREQUAL "esp32s2") OR (IDF_TARGET STREQUAL "esp32c3"))
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(test_memprot)
|
|
|
|
target_link_libraries(${project_elf} PRIVATE "-Wl,--wrap=esp_panic_handler")
|
|
|
|
endif()
|