aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyan Halder <ayan.halder@arm.com>2020-08-14 17:02:36 +0100
committerAyan Halder <ayan.halder@arm.com>2020-08-14 17:13:08 +0100
commit438de1be6189a6ea2ffe2d5f8c2b5e18549876de (patch)
tree42a08d32c9afd765439f23ac1aab9de1e3da9dd9
parentd858eff59ae736134e39818f145d23018923093b (diff)
downloadarmnn-438de1be6189a6ea2ffe2d5f8c2b5e18549876de.tar.gz
Fix linker err missing boost filesystem library
One needs Boost filesystem library to build armnn.so and GatordMock Signed-off-by: Ayan Halder <ayan.halder@arm.com> Change-Id: I108910047fa723e26c87ed6b1e9d401fae3e985e
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 788ce7e089..9c2f331a09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -602,6 +602,7 @@ endif()
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
target_link_libraries(armnn ${Boost_THREAD_LIBRARY}
+ ${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY})
if(ARMCOMPUTENEON OR ARMCOMPUTECL)
@@ -1091,6 +1092,7 @@ if(BUILD_GATORD_MOCK)
timelineDecoder
gatordMockService
${Boost_PROGRAM_OPTIONS_LIBRARY}
+ ${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY})
if(Threads_FOUND AND (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL Android)))