From 8846dc83db760f6b42f3d87fec341b9e18a34c49 Mon Sep 17 00:00:00 2001 From: Isha Pardikar Date: Fri, 28 Jan 2022 18:43:00 +0530 Subject: [PATCH] Merge branch 'bugfix/nimble_spp' into 'master' NimBLE : Fixed BLE SPP build fail on Windows Closes : https://github.com/espressif/esp-idf/issues/8305 --- .../bluetooth/nimble/ble_spp/spp_client/main/CMakeLists.txt | 2 +- .../bluetooth/nimble/ble_spp/spp_server/main/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bluetooth/nimble/ble_spp/spp_client/main/CMakeLists.txt b/examples/bluetooth/nimble/ble_spp/spp_client/main/CMakeLists.txt index a2f55a88582..7eff1870a2b 100644 --- a/examples/bluetooth/nimble/ble_spp/spp_client/main/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_spp/spp_client/main/CMakeLists.txt @@ -1,2 +1,2 @@ idf_component_register(SRCS "main.c" "misc.c" "peer.c" - INCLUDE_DIRS "$ENV{IDF_PATH}/components") + INCLUDE_DIRS ".") diff --git a/examples/bluetooth/nimble/ble_spp/spp_server/main/CMakeLists.txt b/examples/bluetooth/nimble/ble_spp/spp_server/main/CMakeLists.txt index 50ad74e898e..1d440d5d68e 100644 --- a/examples/bluetooth/nimble/ble_spp/spp_server/main/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_spp/spp_server/main/CMakeLists.txt @@ -3,4 +3,4 @@ set(srcs "main.c" "misc.c") idf_component_register(SRCS "${srcs}" - INCLUDE_DIRS "$ENV{IDF_PATH}/components") + INCLUDE_DIRS ".")