Прошло 2 года.
This commit is contained in:
16
lib/epdiy/examples/screen_diag/CMakeLists.txt
Normal file
16
lib/epdiy/examples/screen_diag/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
# For more information about build system see
|
||||
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
|
||||
# The following five lines of boilerplate have to be in your project's
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
|
||||
# dependencies
|
||||
set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/../../")
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(screen_diag)
|
||||
|
||||
set(IDF_VER_SANE "${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}")
|
||||
if (IDF_VER_SANE VERSION_LESS "5.0.0")
|
||||
message(FATAL_ERROR "screen_diag requires at least ESP-IDF v5.0.0")
|
||||
endif()
|
||||
Reference in New Issue
Block a user