diff --git a/regression/osd_regression/CMakeLists.txt b/regression/osd_regression/CMakeLists.txt index 7ee8412f..5c23abcc 100644 --- a/regression/osd_regression/CMakeLists.txt +++ b/regression/osd_regression/CMakeLists.txt @@ -72,6 +72,14 @@ set(PLATFORM_LIBRARIES ${GLFW_LIBRARIES} ) +if ( OPENCL_FOUND ) + list(APPEND PLATFORM_LIBRARIES + ${OPENCL_LIBRARIES} + ) + include_directories( ${OPENCL_INCLUDE_DIRS} ) +endif() + + add_executable(osd_regression ${SOURCE_FILES} )