diff options
author | Inki Dae <inki.dae@samsung.com> | 2020-06-29 18:25:07 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2021-04-19 13:58:58 +0900 |
commit | 2927d52293cd663c85dbc349bae3da19dcc1e9f9 (patch) | |
tree | 95a40907e0ee827428c55d250013368a042c1c34 | |
parent | e175dade319ad5f706d6a53c53c48cab1bf4fbbe (diff) | |
download | armnn-2927d52293cd663c85dbc349bae3da19dcc1e9f9.tar.gz armnn-2927d52293cd663c85dbc349bae3da19dcc1e9f9.tar.bz2 armnn-2927d52293cd663c85dbc349bae3da19dcc1e9f9.zip |
Use Tizen specific TF_LITE_SCHEMA_PATH
The schema file, schema.fbs, will be installed in /usr/share/...
in case of Tizen so use the specific TF_LITE_SCHEMA_PATH
so that ARMNN can find schema.fbs in given path.
Change-Id: Idd9b23000d18995fc5df4a45b0510c47231ae0c2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 63e6812b3..b2363400f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -859,10 +859,10 @@ if(BUILD_UNIT_TESTS) # static C-array of bytes. This is needed at runtime for TfLite parser tests. add_custom_command( OUTPUT SchemaText.cpp - COMMAND cp ${TF_LITE_SCHEMA_INCLUDE_PATH}/schema.fbs g_TfLiteSchemaText + COMMAND cp ${TF_LITE_SCHEMA_PATH}/schema.fbs g_TfLiteSchemaText COMMAND xxd -i g_TfLiteSchemaText SchemaText.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - DEPENDS ${TF_LITE_SCHEMA_INCLUDE_PATH}/schema.fbs + DEPENDS ${TF_LITE_SCHEMA_PATH}/schema.fbs ) list(APPEND unittest_sources ${CMAKE_CURRENT_BINARY_DIR}/SchemaText.cpp) endif() |