mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 09:49:12 +08:00
9 lines
324 B
CMake
9 lines
324 B
CMake
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}")
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow -Wundef)
|