diff --git a/modules/ocl/CMakeLists.txt b/modules/ocl/CMakeLists.txt index a35aea0e2de1d9f4f0d0ee8f2e8c071af836455e..21e0b30858ab2ab357c1f4c9489d1f89b7dd34f8 100644 --- a/modules/ocl/CMakeLists.txt +++ b/modules/ocl/CMakeLists.txt @@ -5,4 +5,4 @@ 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) +ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow)