Move build flag BUILD_TFLITE_BENCHMARK_MODEL checking into tool's cmake
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
add_subdirectory(tflite_run)
add_subdirectory(tflite_benchmark)
-if (BUILD_TFLITE_BENCHMARK_MODEL)
- add_subdirectory(tflite_benchmark_model)
-endif()
+add_subdirectory(tflite_benchmark_model)
add_subdirectory(tflite_examples)
add_subdirectory(nnapi_test)
add_subdirectory(nnapi_quickcheck)
+if (NOT BUILD_TFLITE_BENCHMARK_MODEL)
+ return()
+endif(NOT BUILD_TFLITE_BENCHMARK_MODEL)
+
file(GLOB_RECURSE SOURCES "*.cc")
nnfw_find_package(TensorFlowSource REQUIRED)