mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
8d7d173bb0
commit
728e183205
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue