Skip to content

Commit c83b76e

Browse files
igrrdavid-cermak
authored andcommitted
fix(mdns): reference protocol_examples_common from IDF
This makes the example project usable from the component registry
1 parent 025ede1 commit c83b76e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

components/mdns/examples/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22
# in this exact order for cmake to work correctly
33
cmake_minimum_required(VERSION 3.5)
44

5-
set(EXTRA_COMPONENT_DIRS "..")
6-
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7-
list(APPEND EXTRA_COMPONENT_DIRS "../../../common_components/protocol_examples_common")
8-
95
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
106
project(mdns_test)

components/mdns/examples/main/idf_component.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ dependencies:
33
idf: ">=5.0"
44
espressif/mdns:
55
version: "^1.0.0"
6+
protocol_examples_common:
7+
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

0 commit comments

Comments
 (0)