aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-22 16:08:59 +0100
committerThomas White <taw@physics.org>2018-03-22 16:08:59 +0100
commit5c8489859d9c3d6a071ad5817d669694a811553d (patch)
treee34a78b6ec87fd6351ef13381593630ef3c05a04 /tests
parent00e75c577fa1069d24188bb7750fea1bc3723865 (diff)
OpenCL stuff
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 1ec0bcbb..84624d98 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -70,9 +70,10 @@ target_link_libraries(transformation_check ${COMMON_LIBRARIES})
add_test(transformation_check transformation_check)
if (HAVE_OPENCL)
- add_executable(gpu_sim_check gpu_sim_check.c ../src/diffraction.c ../src/diffraction-gpu.c)
- target_include_directories(gpu_sim_check PRIVATE ${COMMON_INCLUDES})
- target_link_libraries(gpu_sim_check ${COMMON_LIBRARIES})
+ add_executable(gpu_sim_check gpu_sim_check.c ../src/diffraction.c
+ ../src/diffraction-gpu.c ../src/cl-utils.c)
+ target_include_directories(gpu_sim_check PRIVATE ${COMMON_INCLUDES} ${OpenCL_INCLUDE_DIRS})
+ target_link_libraries(gpu_sim_check ${COMMON_LIBRARIES} ${OpenCL_LIBRARIES})
add_test(gpu_sim_check gpu_sim_check)
endif (HAVE_OPENCL)