2012-07-16 17:08:14 +00:00
|
|
|
if(NOT HAVE_OPENCL)
|
|
|
|
ocv_module_disable(ocl)
|
2013-08-07 12:53:48 +04:00
|
|
|
return()
|
2012-07-16 17:08:14 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
set(the_description "OpenCL-accelerated Computer Vision")
|
2013-10-10 22:56:19 +04:00
|
|
|
ocv_define_module(ocl opencv_core opencv_imgproc opencv_features2d opencv_objdetect opencv_video opencv_calib3d opencv_ml "${OPENCL_LIBRARIES}")
|
2013-10-11 19:30:47 +04:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow -Wundef)
|