Debian Codegraph @

debian/patches/link-against-libflatbuffers.so-rather-th

raw
1 From: Francis Murtagh <[email protected]>
2 Date: Tue, 1 Aug 2023 21:39:26 +0200
3 Subject: Link against libflatbuffers.so rather than static
4
5 X-Dgit-Generated: 20.08-1 1a92b0d6f3b67ab1d6f19c36839353d7999e0f08
6
7 * Also remove hints from find_library()
8
9 Signed-off-by: Francis Murtagh <[email protected]>
10 ---
11 cmake/GlobalConfig.cmake | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-)
13
14 diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
15 index 46245d1..1633a2d 100644
16 --- a/cmake/GlobalConfig.cmake
17 +++ b/cmake/GlobalConfig.cmake
18 @@ -258,8 +258,7 @@ if(BUILD_TF_LITE_PARSER OR BUILD_ARMNN_SERIALIZER OR ARMNNTOSAREF)
19 message(STATUS "Flatbuffers headers are located at: ${FLATBUFFERS_INCLUDE_PATH}")
20
21 find_library(FLATBUFFERS_LIBRARY
22 - NAMES libflatbuffers.a flatbuffers
23 - HINTS ${FLATBUFFERS_ROOT}/lib /usr/local/lib /usr/lib)
24 + NAMES libflatbuffers.so flatbuffers)
25
26 message(STATUS "Flatbuffers library located at: ${FLATBUFFERS_LIBRARY}")
27 endif()