mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-25 17:31:33 +02:00
fix(mdns): reference protocol_examples_common from IDF
This makes the example project usable from the component registry
This commit is contained in:
committed by
David Cermak
parent
025ede12e8
commit
c83b76ea8f
@ -2,9 +2,5 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
|
||||||
set(EXTRA_COMPONENT_DIRS "..")
|
|
||||||
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
|
|
||||||
list(APPEND EXTRA_COMPONENT_DIRS "../../../common_components/protocol_examples_common")
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(mdns_test)
|
project(mdns_test)
|
||||||
|
@ -3,3 +3,5 @@ dependencies:
|
|||||||
idf: ">=5.0"
|
idf: ">=5.0"
|
||||||
espressif/mdns:
|
espressif/mdns:
|
||||||
version: "^1.0.0"
|
version: "^1.0.0"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
Reference in New Issue
Block a user