From 31ec634730f44dcaf1c1c843e7315a1785d326ca Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Tue, 25 Jun 2019 16:53:37 +0800 Subject: [PATCH] bt: fix build issue Source files and include directories were appended to variables used by the previous component registration command. --- components/bt/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/bt/CMakeLists.txt b/components/bt/CMakeLists.txt index bae50179d..e6e76db34 100644 --- a/components/bt/CMakeLists.txt +++ b/components/bt/CMakeLists.txt @@ -288,7 +288,7 @@ if(CONFIG_BT_ENABLED) endif() if (CONFIG_BLE_MESH) - list(APPEND COMPONENT_ADD_INCLUDEDIRS + list(APPEND include_dirs "bluedroid/osi/include" "ble_mesh/mesh_core" "ble_mesh/mesh_core/include" @@ -299,7 +299,7 @@ if (CONFIG_BLE_MESH) "ble_mesh/api/models/include" "ble_mesh/api") - list(APPEND COMPONENT_SRCS + list(APPEND srcs "ble_mesh/api/core/esp_ble_mesh_common_api.c" "ble_mesh/api/core/esp_ble_mesh_local_data_operation_api.c" "ble_mesh/api/core/esp_ble_mesh_low_power_api.c"