mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7 lines
316 B
CMake
7 lines
316 B
CMake
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/esp-mqtt/CMakeLists.txt)
|
|
set(COMMAND "git submodule update --init --recursive")
|
|
message(FATAL_ERROR "Missing esp-mqtt submodule. Please run '${COMMAND}' in ESP-IDF directory to fix this.")
|
|
else()
|
|
include(${CMAKE_CURRENT_LIST_DIR}/esp-mqtt/CMakeLists.txt)
|
|
endif()
|