Support different flatbuffer libs for debug and release
authorRob Hughes <robert.hughes@arm.com>
Tue, 7 Jan 2020 13:26:42 +0000 (13:26 +0000)
committerRob Hughes <robert.hughes@arm.com>
Wed, 15 Jan 2020 16:28:16 +0000 (16:28 +0000)
commitc3da2680f605e705c95811c7ba93770e200e5dc0
treeac6ab98ce0c99ff53b1837f3f90e4d98b3b9c4b7
parent5edefa0529b92d4b0652512b1a88ab6b4ec6ade1
Support different flatbuffer libs for debug and release

The existing FLATBUFFERS_LIBRARY variable is still honoured, but if
not specified then we use CMake's find_library to find the debug and release
variants, using PATH_SUFFIXES to help separate debug and release.

This is the same approach we use for the armcompute libs.

Change-Id: I21e8da3f76669dbfb8dbdf49046f9db46cba50a2
Signed-off-by: Robert Hughes <robert.hughes@arm.com>
src/armnnTfLiteParser/CMakeLists.txt