return()
endif(NOT BUILD_TENSORFLOW_LITE)
-set(TENSORFLOW_BASE ${CMAKE_CURRENT_SOURCE_DIR}/tensorflow)
-set(TENSORFLOW_LITE_BASE ${TENSORFLOW_BASE}/tensorflow/contrib/lite)
-
# Required source & package
nnfw_find_package(AbslSource REQUIRED)
nnfw_find_package(Eigen REQUIRED)
nnfw_find_package(GEMMLowpSource REQUIRED)
nnfw_find_package(TensorFlowSource REQUIRED)
+set(TENSORFLOW_LITE_BASE ${TensorFlowSource_DIR}/tensorflow/contrib/lite)
+
#
# Tensorflow Lite library
#
list(APPEND TFLITE_SRCS "${FarmhashSource_DIR}/src/farmhash.cc")
-list(APPEND TFLITE_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/tensorflow")
+list(APPEND TFLITE_INCLUDES "${TensorFlowSource_DIR}")
list(APPEND TFLITE_INCLUDES "${AbslSource_DIR}")
list(APPEND TFLITE_INCLUDES "${GEMMLowpSource_DIR}")
list(APPEND TFLITE_INCLUDES "${FarmhashSource_DIR}/src")