Require TensorFlow Lite when building nnfw_lib_tflite (#4774)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 18 Mar 2019 09:33:52 +0000 (18:33 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 18 Mar 2019 09:33:52 +0000 (18:33 +0900)
nnfw_lib_tflite depends on TensorFlow Lite, but there is no explicit
find_package statement.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
libs/tflite/CMakeLists.txt

index e816189..a256a45 100644 (file)
@@ -1,3 +1,5 @@
+nnfw_find_package(TensorFlowLite REQUIRED)
+
 file(GLOB_RECURSE SOURCES "src/*.cpp")
 file(GLOB_RECURSE TESTS "src/*.test.cpp")
 list(REMOVE_ITEM SOURCES ${TESTS})