File: link-against-libflatbuffers.so-rather-th

package info (click to toggle)
armnn 20.08-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 20,636 kB
  • sloc: cpp: 211,563; python: 2,756; sh: 285; makefile: 38; asm: 6
file content (21 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Link against libflatbuffers.so rather than static
  * Also remove hints from find_library()
 .
 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Author: Francis Murtagh <francis.murtagh@arm.com>
X-Dgit-Generated: 20.08-1 1a92b0d6f3b67ab1d6f19c36839353d7999e0f08

---

--- armnn-20.08.orig/cmake/GlobalConfig.cmake
+++ armnn-20.08/cmake/GlobalConfig.cmake
@@ -215,8 +215,7 @@ if(BUILD_TF_LITE_PARSER OR BUILD_ARMNN_S
     message(STATUS "Flatbuffers headers are located at: ${FLATBUFFERS_INCLUDE_PATH}")
 
     find_library(FLATBUFFERS_LIBRARY
-                 NAMES libflatbuffers.a flatbuffers
-                 HINTS ${FLATBUFFERS_ROOT}/lib /usr/local/lib /usr/lib)
+                 NAMES libflatbuffers.so flatbuffers)
 
     message(STATUS "Flatbuffers library located at: ${FLATBUFFERS_LIBRARY}")
 endif()