summaryrefslogtreecommitdiff
path: root/compiler/enco
diff options
context:
space:
mode:
authorHyeongseok Oh <hseok82.oh@samsung.com>2024-08-28 17:36:59 +0900
committerHyeongseok Oh <hseok82.oh@samsung.com>2024-08-28 17:36:59 +0900
commit6bb86310ce78f57c1afd69caa78ad9a5df82a8ba (patch)
tree5b3dc38971e32c02c0868f4334ce3f56e75d6767 /compiler/enco
parenteed258505ee1ad0f72d9e0a8a3934f2e9e7b5e79 (diff)
downloadnnfw-upstream.tar.gz
nnfw-upstream.tar.bz2
nnfw-upstream.zip
Diffstat (limited to 'compiler/enco')
-rw-r--r--compiler/enco/exclude.me0
-rw-r--r--compiler/enco/frontend/tflite/CMakeLists.txt2
-rw-r--r--compiler/enco/test/tflite/CMakeLists.txt4
3 files changed, 5 insertions, 1 deletions
diff --git a/compiler/enco/exclude.me b/compiler/enco/exclude.me
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/compiler/enco/exclude.me
diff --git a/compiler/enco/frontend/tflite/CMakeLists.txt b/compiler/enco/frontend/tflite/CMakeLists.txt
index 995e66f81..c71bde7ee 100644
--- a/compiler/enco/frontend/tflite/CMakeLists.txt
+++ b/compiler/enco/frontend/tflite/CMakeLists.txt
@@ -1,4 +1,4 @@
-nnas_find_package(FlatBuffers EXACT 2.0 QUIET)
+nnas_find_package(FlatBuffers EXACT 23.5.26 QUIET)
if(NOT FlatBuffers_FOUND)
return()
diff --git a/compiler/enco/test/tflite/CMakeLists.txt b/compiler/enco/test/tflite/CMakeLists.txt
index 81d5ed2a2..8c831af33 100644
--- a/compiler/enco/test/tflite/CMakeLists.txt
+++ b/compiler/enco/test/tflite/CMakeLists.txt
@@ -18,6 +18,10 @@ endfunction(get_test_configuration)
###
### Prepare test(s)
###
+if(NOT TARGET nnkit_tflite_backend)
+ return()
+endif(NOT TARGET nnkit_tflite_backend)
+
if(NOT TARGET tflchef-file)
return()
endif(NOT TARGET tflchef-file)