diff --git a/connectivity/CMakeLists.txt b/connectivity/CMakeLists.txt index 9c3c1c7e0fe..ad3f59d90ed 100644 --- a/connectivity/CMakeLists.txt +++ b/connectivity/CMakeLists.txt @@ -4,7 +4,6 @@ # List of all connectivity libraries available. add_library(mbed-802.15.4-rf INTERFACE) add_library(mbed-ble INTERFACE) -add_library(mbed-ble-blue_nrg INTERFACE) add_library(mbed-ble-cordio INTERFACE) add_library(mbed-ble-cordio_ll INTERFACE) add_library(mbed-cellular INTERFACE) diff --git a/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_BlueNRG_MS/CMakeLists.txt b/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_BlueNRG_MS/CMakeLists.txt index cb6a3d3ac3b..739407a081f 100644 --- a/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_BlueNRG_MS/CMakeLists.txt +++ b/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_BlueNRG_MS/CMakeLists.txt @@ -1,12 +1,12 @@ # Copyright (c) 2020 ARM Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 -target_sources(mbed-ble-blue_nrg +target_include_directories(mbed-ble INTERFACE - BlueNrgMsHCIDriver.cpp + . ) -target_link_libraries(mbed-ble-blue_nrg +target_sources(mbed-ble INTERFACE - mbed-ble + BlueNrgMsHCIDriver.cpp )