add_library(acl_foundation ${ACL_UTIL_SRCS})
target_include_directories(acl_foundation PUBLIC "${ACL_BASE}")
target_include_directories(acl_foundation PUBLIC "${ACL_BASE}/include")
+target_link_libraries(acl_foundation dl pthread)
###
### ARM Compute Library Common (Core & Runtime)
list(APPEND ACL_CORE_OPENCL_SRCS ${ACL_CORE_OPENCL_KERNEL_SRCS})
add_library(acl_core_opencl ${ACL_CORE_OPENCL_SRCS})
-target_link_libraries(acl_core_opencl acl_core_common OpenCL dl)
+target_link_libraries(acl_core_opencl acl_core_common OpenCL)
file(GLOB_RECURSE ACL_RUNTIME_OPENCL_SRCS "${ACL_BASE}/src/runtime/CL/*.cpp")
target_include_directories(arm_compute_core PUBLIC "${ACL_GENERATED}")
target_include_directories(arm_compute_core PUBLIC "${ACL_BASE}")
target_include_directories(arm_compute_core PUBLIC "${ACL_BASE}/include")
+target_link_libraries(arm_compute_core dl pthread)
list(APPEND ACL_RUNTIME_SRCS ${ACL_RUNTIME_COMMON_SRCS})
list(APPEND ACL_RUNTIME_SRCS ${ACL_RUNTIME_OPENCL_SRCS})