mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
414 B
11 lines
414 B
if(NOT HAVE_OPENCL) |
|
ocv_module_disable(ocl) |
|
return() |
|
endif() |
|
|
|
set(the_description "OpenCL-accelerated Computer Vision") |
|
ocv_define_module(ocl opencv_core opencv_imgproc opencv_features2d opencv_objdetect opencv_video opencv_calib3d opencv_ml "${OPENCL_LIBRARIES}") |
|
if(TARGET opencv_test_ocl) |
|
target_link_libraries(opencv_test_ocl "${OPENCL_LIBRARIES}") |
|
endif() |
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow)
|
|
|