From c7701d41f839a08a8193926cae9b08f205def667 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 22 Mar 2018 17:27:10 +1100 Subject: [PATCH] cmake: Add component dependency support Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements. * Original commit: espressif/esp-idf@1cb5712463a8963cd3e8331da90fb5e03f13575f --- components/mdns/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/mdns/CMakeLists.txt b/components/mdns/CMakeLists.txt index 149dcb0bc..4ab664110 100644 --- a/components/mdns/CMakeLists.txt +++ b/components/mdns/CMakeLists.txt @@ -1,5 +1,7 @@ set(COMPONENT_SRCDIRS ".") set(COMPONENT_ADD_INCLUDEDIRS "include") set(COMPONENT_PRIV_INCLUDEDIRS "private_include") +set(COMPONENT_REQUIRES lwip mbedtls console tcpip_adapter) + register_component()