2020-07-11 12:11:34 +02:00
|
|
|
# The following 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.5)
|
2020-09-29 20:38:49 +02:00
|
|
|
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
|
|
esp-ena
|
|
|
|
GIT_REPOSITORY https://github.com/Lurkars/esp-ena.git
|
|
|
|
GIT_TAG origin/component
|
|
|
|
)
|
|
|
|
FetchContent_MakeAvailable(esp-ena)
|
|
|
|
set(EXTRA_COMPONENT_DIRS ${esp-ena_SOURCE_DIR}/components)
|
2020-07-11 12:11:34 +02:00
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
2020-09-29 20:38:49 +02:00
|
|
|
project(esp-ena-device)
|