diff --git a/examples/common_components/protocol_examples_common/CMakeLists.txt b/examples/common_components/protocol_examples_common/CMakeLists.txt index e2470c7efa..d8bccb1e99 100644 --- a/examples/common_components/protocol_examples_common/CMakeLists.txt +++ b/examples/common_components/protocol_examples_common/CMakeLists.txt @@ -36,7 +36,7 @@ if(CONFIG_EXAMPLE_PROVIDE_WIFI_CONSOLE_CMD) endif() if(CONFIG_EXAMPLE_CONNECT_ETHERNET) - idf_component_optional_requires(PRIVATE esp_eth) + idf_component_optional_requires(PUBLIC esp_eth) endif() if(CONFIG_EXAMPLE_CONNECT_PPP)