find_library(tensorflow_LIBRARY libtensorflow-lite.so libtensorflowlite.so HINTS "/usr/lib" "/usr/local/lib" "/opt/local/lib")
find_path(tensorflow_INCLUDE interpreter.h HINTS "/usr/include" "/usr/local/include" "/opt/local/include" PATH_SUFFIXES "tensorflow/lite")

if (tensorflow_LIBRARY AND tensorflow_INCLUDE)
    set(TERSORFLOW_FOUND TRUE)

    message(STATUS "Tensorflow Lite found:")
    message(STATUS "    library at: ${tensorflow_LIBRARY}")
    message(STATUS "    include path: ${tensorflow_INCLUDE}")
endif ()
