###
file(GLOB ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/*.cpp")
list(APPEND ACL_CORE_COMMON_SRCS "arm_compute_version.embed")
+# Both CL & NEON runtime funtions use these CPP kernels
+list(APPEND ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp")
+list(APPEND ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp")
+list(APPEND ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/CPP/kernels/CPPSortEuclideanDistanceKernel.cpp")
add_library(acl_core_common ${ACL_CORE_COMMON_SRCS})
target_include_directories(acl_core_common PUBLIC "${ACL_GENERATED}")
add_library(acl_graph ${ACL_GRAPH_SRCS})
target_link_libraries(acl_graph acl_runtime_opencl acl_runtime_neon)
-add_executable(graph_lenet "${ACL_BASE}/examples/graph_lenet.cpp" "${ACL_BASE}/utils/Utils.cpp" "${ACL_BASE}/utils/GraphUtils.cpp")
-target_link_libraries(graph_lenet acl_graph)
-
###
### ARM Compute Shared Libraries
###
list(APPEND ACL_RUNTIME_SRCS ${ACL_RUNTIME_NEON_SRCS})
add_library(arm_compute SHARED ${ACL_RUNTIME_SRCS})
-target_link_libraries(arm_compute arm_compute_core)
+target_link_libraries(arm_compute arm_compute_core OpenCL)
add_library(arm_compute_graph SHARED ${ACL_GRAPH_SRCS})
target_link_libraries(arm_compute_graph arm_compute)
+
+add_executable(graph_lenet "${ACL_BASE}/examples/graph_lenet.cpp" "${ACL_BASE}/utils/Utils.cpp" "${ACL_BASE}/utils/GraphUtils.cpp")
+target_link_libraries(graph_lenet arm_compute_graph)