From 5d03e31aaf4d82e9f9cdc03c41d2328bbb2a0dee Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Tue, 17 Nov 2020 16:43:56 +0000 Subject: IVGCVSW-5377 Add ArmNN TfLite delegate to ExecuteNetwork * Added package manger to turn internal calls to find_package into a no-op * Changed delegate cmake so it can now be built within armnn Change-Id: I2a7ecb9a3c1ca05474cd1dccd91498f6f6c0b32e Signed-off-by: Finn Williams Signed-off-by: Sadik Armagan --- tests/CMakeLists.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9d3b026687..edea34dfee 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -264,12 +264,15 @@ if (BUILD_ARMNN_SERIALIZER OR BUILD_CAFFE_PARSER OR BUILD_TF_PARSER OR BUILD_TF_ target_link_libraries(ExecuteNetwork armnnTfLiteParser) endif() if (BUILD_ONNX_PARSER) - target_link_libraries(ExecuteNetwork armnnOnnxParser) + target_link_libraries(ExecuteNetwork armnnOnnxParser) + endif() + if (BUILD_ARMNN_TFLITE_DELEGATE) + target_link_libraries(ExecuteNetwork ArmnnDelegate::ArmnnDelegate) endif() - target_link_libraries(ExecuteNetwork armnn) - target_link_libraries(ExecuteNetwork ${CMAKE_THREAD_LIBS_INIT}) - addDllCopyCommands(ExecuteNetwork) + + target_link_libraries(ExecuteNetwork ${CMAKE_THREAD_LIBS_INIT}) + addDllCopyCommands(ExecuteNetwork) endif() if(BUILD_ACCURACY_TOOL) -- cgit v1.2.1