CMake: unit-tests: Make lorawan stub only depend on headers it uses

Previously the connectivity lorawan stub library depended on
`mbed-headers`, which is a collection of all available headers
in mbed-os. To make it easier to separate the library, only depend
on the headers we're using.
pull/14842/head
Rajkumar Kanagaraj 2021-06-28 09:15:08 -07:00
parent 8d7d173bb0
commit 728e183205
1 changed files with 6 additions and 2 deletions

View File

@ -34,8 +34,12 @@ target_sources(mbed-stubs-lorawan
target_link_libraries(mbed-stubs-lorawan
PRIVATE
mbed-headers
mbed-headers-lorawan
mbed-headers-base
mbed-headers-events
mbed-headers-hal
mbed-stubs-headers
mbed-headers-connectivity
mbed-headers-platform
mbed-headers-lorawan
gtest
)