diff --git a/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt b/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt index 06b2dba673..36b7992830 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt @@ -2,7 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -set(EXTRA_COMPONENT_DIRS $ {CMAKE_CURRENT_LIST_DIR} / .. / .. / common / nimble_central_utils) +set(EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_LIST_DIR}/../../common/nimble_central_utils) -include($ENV{IDF_PATH} / tools / cmake / project.cmake) +include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(phy_cent) diff --git a/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt b/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt index 550d0a0827..7323302085 100644 --- a/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt +++ b/examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt @@ -2,7 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) -set(EXTRA_COMPONENT_DIRS $ {CMAKE_CURRENT_LIST_DIR} / .. / .. / common / nimble_peripheral_utils) +set(EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_LIST_DIR}/../../common/nimble_peripheral_utils) -include($ENV{IDF_PATH} / tools / cmake / project.cmake) +include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(phy_prph)