mirror of https://github.com/ARMmbed/mbed-os.git
CMake: unit-tests: Make hal stubs only depend on headers it uses
Previously the hal 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/14827/head
parent
bf06897b8f
commit
fe0298a1a3
|
|
@ -32,6 +32,8 @@ target_link_options(mbed-stubs-hal
|
|||
|
||||
target_link_libraries(mbed-stubs-hal
|
||||
PRIVATE
|
||||
mbed-headers
|
||||
mbed-headers-base
|
||||
mbed-headers-hal
|
||||
mbed-headers-platform
|
||||
mbed-stubs-headers
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue