summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtimes/neurun/backend/cpu/CMakeLists.txt10
-rw-r--r--runtimes/neurun/backend/cpu/kernel/CMakeLists.txt2
2 files changed, 0 insertions, 12 deletions
diff --git a/runtimes/neurun/backend/cpu/CMakeLists.txt b/runtimes/neurun/backend/cpu/CMakeLists.txt
index 37fbfd8..fac5abe 100644
--- a/runtimes/neurun/backend/cpu/CMakeLists.txt
+++ b/runtimes/neurun/backend/cpu/CMakeLists.txt
@@ -1,10 +1,3 @@
-# Need internal header code to build cpu backend
-nnfw_find_package(TensorFlowSource QUIET)
-nnfw_find_package(TensorFlowLite QUIET)
-if((NOT TensorFlowSource_FOUND) OR (NOT TensorFlowLite_FOUND))
- return()
-endif()
-
add_subdirectory(kernel)
file(GLOB_RECURSE SOURCES "*.cc")
@@ -15,10 +8,7 @@ list(REMOVE_ITEM SOURCES ${TESTS})
add_library(${LIB_NEURUN_BACKEND_CPU} SHARED ${SOURCES})
-target_include_directories(${LIB_NEURUN_BACKEND_CPU} PUBLIC ${CMAKE_SOURCE_DIR}/externals/tensorflow)
-
target_link_libraries(${LIB_NEURUN_BACKEND_CPU} nnapi-header)
-target_link_libraries(${LIB_NEURUN_BACKEND_CPU} tensorflow-lite)
target_link_libraries(${LIB_NEURUN_BACKEND_CPU} nnfw_lib_misc)
target_link_libraries(${LIB_NEURUN_BACKEND_CPU} nnfw_lib_cpp14)
target_link_libraries(${LIB_NEURUN_BACKEND_CPU} ${LIB_NEURUN_KERNEL_CPU})
diff --git a/runtimes/neurun/backend/cpu/kernel/CMakeLists.txt b/runtimes/neurun/backend/cpu/kernel/CMakeLists.txt
index 1f35ce9..d2b3b54 100644
--- a/runtimes/neurun/backend/cpu/kernel/CMakeLists.txt
+++ b/runtimes/neurun/backend/cpu/kernel/CMakeLists.txt
@@ -3,10 +3,8 @@ file(GLOB SOURCES "*.cc")
add_library(${LIB_NEURUN_KERNEL_CPU} STATIC ${SOURCES})
target_include_directories(${LIB_NEURUN_KERNEL_CPU} PUBLIC ${NEURUN_INCLUDE_DIR})
-target_include_directories(${LIB_NEURUN_KERNEL_CPU} PUBLIC ${CMAKE_SOURCE_DIR}/externals/tensorflow)
target_link_libraries(${LIB_NEURUN_KERNEL_CPU} nnapi-header)
-target_link_libraries(${LIB_NEURUN_KERNEL_CPU} tensorflow-lite)
target_link_libraries(${LIB_NEURUN_KERNEL_CPU} nnfw_lib_misc nnfw_lib_cker)
set_target_properties(${LIB_NEURUN_KERNEL_CPU} PROPERTIES POSITION_INDEPENDENT_CODE ON)