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