aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2021-12-21 16:41:09 +0000
committerRob Hughes <robert.hughes@arm.com>2021-12-21 16:41:09 +0000
commitfcd598d3fd21d8ae9600e9e9f07e0dc8d20a23fe (patch)
tree1fe63942cac39304a29abbc8686daad5dc6b7a03
parent2ca9a14b04f31f6a029b2747d39ee49a682eddab (diff)
downloadarmnn-fcd598d3fd21d8ae9600e9e9f07e0dc8d20a23fe.tar.gz
Add missing link dependency in armnnTestUtils
armnnTestUtils depends on symbols defined in armnn, and so needs a link dependency on it. This is similar to e.g. armnnTfLiteParser. Change-Id: I1dfbde2e385c712c4033e47300c4fbaa9c40437b Signed-off-by: Rob Hughes <robert.hughes@arm.com>
-rwxr-xr-xsrc/armnnTestUtils/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/armnnTestUtils/CMakeLists.txt b/src/armnnTestUtils/CMakeLists.txt
index 7f3726a478..fae745256f 100755
--- a/src/armnnTestUtils/CMakeLists.txt
+++ b/src/armnnTestUtils/CMakeLists.txt
@@ -41,6 +41,8 @@ target_include_directories(armnnTestUtils PRIVATE ../armnnUtils)
target_include_directories(armnnTestUtils PRIVATE ../backends)
target_include_directories(armnnTestUtils PRIVATE ../profiling)
+target_link_libraries(armnnTestUtils armnn)
+
install(TARGETS armnnTestUtils
EXPORT armnn-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}