diff options
author | Davide Grohmann <davide.grohmann@arm.com> | 2022-06-16 13:40:15 +0200 |
---|---|---|
committer | Davide Grohmann <davide.grohmann@arm.com> | 2022-08-16 13:57:24 +0200 |
commit | 06f954bb6dd56921f1fb38e3e36405e3f1c70ef9 (patch) | |
tree | b1da052a577cc70b3cf42503d4f3dd61247d4db0 /applications | |
parent | 85552b176955e90f8677566131e03b397401392b (diff) | |
download | ethos-u-core-platform-06f954bb6dd56921f1fb38e3e36405e3f1c70ef9.tar.gz |
Fix: compile message_handler_lib with correct flags
Link core_driver as PUBLIC so the ETHOSU define is exported.
Change-Id: I8900c11cc1a17ec37b8666131079a5a49875c73f
Diffstat (limited to 'applications')
-rw-r--r-- | applications/message_handler/lib/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/message_handler/lib/CMakeLists.txt b/applications/message_handler/lib/CMakeLists.txt index 7e2826b..4ea4010 100644 --- a/applications/message_handler/lib/CMakeLists.txt +++ b/applications/message_handler/lib/CMakeLists.txt @@ -19,12 +19,14 @@ add_library(message_handler_lib STATIC) target_include_directories(message_handler_lib PUBLIC include - PRIVATE ${LINUX_DRIVER_STACK_PATH}/kernel) + PRIVATE ${LINUX_DRIVER_STACK_PATH}/kernel) -target_link_libraries(message_handler_lib PUBLIC ethosu_mailbox +target_link_libraries(message_handler_lib + PUBLIC + ethosu_mailbox + $<$<TARGET_EXISTS:ethosu_core_driver>:ethosu_core_driver> PRIVATE cmsis_device - $<$<TARGET_EXISTS:ethosu_core_driver>:ethosu_core_driver> freertos_kernel inference_process tflu) |