From 0f6373ca972e70af425052fd9039bafb39671cef Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Mon, 19 Dec 2022 11:37:26 +0530 Subject: [PATCH] Update CMakelists to compile ble_phy app --- examples/bluetooth/nimble/ble_phy/phy_cent/CMakeLists.txt | 4 ++-- examples/bluetooth/nimble/ble_phy/phy_prph/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)