From c837f1e0c4b000d8ebb710cdc1a4ddb12cf8af12 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Mon, 8 Nov 2021 10:19:31 +0000 Subject: Fix stand-alone delegate build * adds missing dependencies to fix errors when building the armnn delegate on its own Signed-off-by: Jan Eilers Change-Id: I9bb676febc80eba277f981f5536a9add48e7f6dd --- delegate/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/delegate/CMakeLists.txt b/delegate/CMakeLists.txt index 9d57d21fdb..bae1d31e71 100644 --- a/delegate/CMakeLists.txt +++ b/delegate/CMakeLists.txt @@ -118,11 +118,13 @@ target_include_directories(thirdparty_headers INTERFACE $) target_compile_options(thirdparty_headers INTERFACE -Wno-old-style-cast) +target_link_libraries(armnnDelegate PUBLIC thirdparty_headers) add_library(profiling_library_headers INTERFACE) target_include_directories(profiling_library_headers INTERFACE $ $) - +target_link_libraries(armnnDelegate PUBLIC profiling_library_headers) +target_link_libraries(armnnDelegate PUBLIC Armnn::armnnUtils) set_target_properties(armnnDelegate PROPERTIES VERSION ${DELEGATE_LIB_VERSION} SOVERSION ${DELEGATE_LIB_SOVERSION}) @@ -253,7 +255,9 @@ set(armnn_delegate_export_targets) list(APPEND armnn_delegate_export_targets armnnDelegate tflite_headers - flatbuffer_headers) + flatbuffer_headers + profiling_library_headers + thirdparty_headers) install( TARGETS ${armnn_delegate_export_targets} -- cgit v1.2.1