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 a2f55a8858..7eff1870a2 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 50ad74e898..1d440d5d68 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 ".")