aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2022-06-16 13:40:15 +0200
committerDavide Grohmann <davide.grohmann@arm.com>2022-08-16 13:57:24 +0200
commit06f954bb6dd56921f1fb38e3e36405e3f1c70ef9 (patch)
treeb1da052a577cc70b3cf42503d4f3dd61247d4db0
parent85552b176955e90f8677566131e03b397401392b (diff)
downloadethos-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
-rw-r--r--applications/message_handler/lib/CMakeLists.txt8
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)