mdns: Updated mDNS to explicitely use esp-eth dependency if needed

* Original commit: espressif/esp-idf@5e19b9c951
This commit is contained in:
gabsuren
2022-06-17 13:16:14 +04:00
parent ebf122bd36
commit 4868689111
3 changed files with 8 additions and 1 deletions

View File

@@ -20,3 +20,7 @@ idf_component_register(
PRIV_INCLUDE_DIRS "private_include"
REQUIRES ${dependencies}
PRIV_REQUIRES ${private_dependencies})
if(CONFIG_ETH_ENABLED)
idf_component_optional_requires(PRIVATE esp_eth)
endif()