mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 20:20:20 +08:00
8 lines
258 B
CMake
8 lines
258 B
CMake
if(NOT HAVE_OPENCL)
|
|
ocv_module_disable(ocl)
|
|
endif()
|
|
|
|
set(the_description "OpenCL-accelerated Computer Vision")
|
|
ocv_define_module(ocl opencv_core opencv_imgproc opencv_objdetect opencv_video opencv_features2d)
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow)
|