Merge pull request #8540 from tomoaki0705:fixWaringPhoto

This commit is contained in:
Alexander Alekhin 2017-04-11 10:36:01 +00:00
commit 4e31eef77d

View File

@ -1,7 +1,7 @@
set(the_description "Computational Photography")
if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow)
endif()
ocv_define_module(photo opencv_imgproc OPTIONAL opencv_cudaarithm opencv_cudaimgproc WRAP java python)