We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 025ede1 commit c83b76eCopy full SHA for c83b76e
components/mdns/examples/CMakeLists.txt
@@ -2,9 +2,5 @@
2
# in this exact order for cmake to work correctly
3
cmake_minimum_required(VERSION 3.5)
4
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
-
9
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
10
project(mdns_test)
components/mdns/examples/main/idf_component.yml
@@ -3,3 +3,5 @@ dependencies:
idf: ">=5.0"
espressif/mdns:
version: "^1.0.0"
+ protocol_examples_common:
+ path: ${IDF_PATH}/examples/common_components/protocol_examples_common
0 commit comments