ocl: don't disable Undef warnings

pull/1860/head
Alexander Alekhin 11 years ago
parent fbc91c5ee9
commit ddc9be9170
  1. 2
      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)

Loading…
Cancel
Save