From 5fb404d4ed182fe6adf0bdce8f2f10e0aff80446 Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Thu, 22 Aug 2024 11:07:43 +0800 Subject: [PATCH] fix(proj): add missing dependency on `driver` A public header `zb_config_platform.h` includes `driver/uart.h` which results a public dependency on the `driver` components. Signed-off-by: Pengyu Lv --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4ca6e1..e84e948 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,10 +25,12 @@ if(CONFIG_ZB_ENABLED) if(CONFIG_ZB_DEBUG_MODE) add_prebuilt_library(zboss_port_lib "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/libzboss_port.a" - PRIV_REQUIRES ieee802154 efuse esp_system esp_hw_support) + PRIV_REQUIRES ieee802154 efuse esp_system esp_hw_support + REQUIRES driver) else() add_prebuilt_library(zboss_port_lib "${CMAKE_CURRENT_SOURCE_DIR}/lib/${idf_target}/libzboss_port.debug.a" - PRIV_REQUIRES ieee802154 efuse esp_system esp_hw_support) + PRIV_REQUIRES ieee802154 efuse esp_system esp_hw_support + REQUIRES driver) endif() list(APPEND ZBOSS_LIBS zboss_stack_lib zboss_port_lib)