Merge pull request #1860 from alalek:ocl_fix_undef_warn

This commit is contained in:
Roman Donchenko
2013-11-25 12:00:25 +04:00
committed by OpenCV Buildbot
2 changed files with 2 additions and 2 deletions

View File

@@ -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)