aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2021-11-08 10:19:31 +0000
committerJim Flynn <jim.flynn@arm.com>2021-11-08 15:57:43 +0000
commitc837f1e0c4b000d8ebb710cdc1a4ddb12cf8af12 (patch)
tree7c705bbeb4370723049b5f22f77b18d50ac89671
parentb1aad4270fa8ad5c4aa62e27d564baf723b2cee5 (diff)
downloadarmnn-c837f1e0c4b000d8ebb710cdc1a4ddb12cf8af12.tar.gz
Fix stand-alone delegate build
* adds missing dependencies to fix errors when building the armnn delegate on its own Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I9bb676febc80eba277f981f5536a9add48e7f6dd
-rw-r--r--delegate/CMakeLists.txt8
1 files 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 $<BUILD_INTERFACE:${ARMN
$<INSTALL_INTERFACE:include/thirdparty_headers>)
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 $<BUILD_INTERFACE:${ARMNN_SOURCE_DIR}/profiling>
$<INSTALL_INTERFACE:include/profiling_library_headers>)
-
+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}