From 963c3dc5b03648694830fa70b6027a541faeab23 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 20 Jun 2022 09:53:47 +0200 Subject: [PATCH] cmake: Add explicit dependency on esp_netif esp_netif component is a private requeirements for some freemodbus sources. This works without declaring a depencency, since esp_netif is implicitely dependent on esp_event. This will be cleaned up in IDF v5.0. This change makes the depencency explicit. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d2a64a..cb48063 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,4 +69,5 @@ endif() idf_component_register(SRCS "${srcs}" INCLUDE_DIRS "${include_dirs}" PRIV_INCLUDE_DIRS "${priv_include_dirs}" - REQUIRES ${requires}) + REQUIRES ${requires} + PRIV_REQUIRES esp_netif)