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

Previously the events 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/14823/head
Rajkumar Kanagaraj 2021-06-23 08:51:16 -07:00
parent 447754f6cf
commit 652b421388
1 changed files with 6 additions and 2 deletions

View File

@ -30,6 +30,10 @@ target_include_directories(mbed-stubs-events
target_link_libraries(mbed-stubs-events
PRIVATE
mbed-headers
mbed-stubs-headers
mbed-headers-base
mbed-headers-drivers
mbed-headers-hal
mbed-headers-events
mbed-headers-rtos
mbed-headers-platform
)