summaryrefslogtreecommitdiff
path: root/contrib/labs/opencl_test/CMakeLists.txt
blob: 5e99fa05120449945433b4739d079a3bc0fbf462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if(NOT ${TARGET_ARCH_BASE} STREQUAL "arm")
  return()
endif(NOT ${TARGET_ARCH_BASE} STREQUAL "arm")

list(APPEND OPENCL_INFO_SOURCE "src/opencl_test.cc")

add_executable(opencl_test ${OPENCL_INFO_SOURCE})
target_include_directories(opencl_test PUBLIC ${CMAKE_SOURCE_DIR}/externals/acl)
target_include_directories(opencl_test PUBLIC ${CMAKE_SOURCE_DIR}/externals/acl/include)
target_include_directories(opencl_test PUBLIC ${CMAKE_SOURCE_DIR}/libs/ARMComputeEx)
target_link_libraries(opencl_test arm_compute)
target_link_libraries(opencl_test arm_compute_ex)