diff options
Diffstat (limited to 'runtime/neurun/backend/acl_neon/CMakeLists.txt')
-rw-r--r-- | runtime/neurun/backend/acl_neon/CMakeLists.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/neurun/backend/acl_neon/CMakeLists.txt b/runtime/neurun/backend/acl_neon/CMakeLists.txt new file mode 100644 index 000000000..061246d36 --- /dev/null +++ b/runtime/neurun/backend/acl_neon/CMakeLists.txt @@ -0,0 +1,21 @@ +# Unsupported architecture +nnas_find_package(ARMCompute QUIET) +if(NOT ARMCompute_FOUND) + return() +endif(NOT ARMCompute_FOUND) + +set(LIB_NEURUN_BACKEND_ACL_NEON neurun_backend_acl_neon) + +file(GLOB_RECURSE SOURCES "*.cc") + +add_library(${LIB_NEURUN_BACKEND_ACL_NEON} SHARED ${SOURCES}) + +target_include_directories(${LIB_NEURUN_BACKEND_ACL_NEON} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) +target_link_libraries(${LIB_NEURUN_BACKEND_ACL_NEON} PRIVATE neurun_core) +target_link_libraries(${LIB_NEURUN_BACKEND_ACL_NEON} PRIVATE ${LIB_NEURUN_BACKEND_ACL_COMMON}) +target_link_libraries(${LIB_NEURUN_BACKEND_ACL_NEON} PRIVATE nnfw_common) +target_link_libraries(${LIB_NEURUN_BACKEND_ACL_NEON} PRIVATE nnfw_coverage) + +set_target_properties(${LIB_NEURUN_BACKEND_ACL_NEON} PROPERTIES OUTPUT_NAME backend_acl_neon) + +install(TARGETS ${LIB_NEURUN_BACKEND_ACL_NEON} DESTINATION lib) |