Merge pull request #8520 from tomoaki0705:cudaWarningsSuppress

This commit is contained in:
Alexander Alekhin 2017-04-05 06:34:45 +00:00
commit bd786f3bea

View File

@ -3,6 +3,9 @@ if(IOS OR WINRT)
endif() endif()
set(the_description "Super Resolution") set(the_description "Super Resolution")
if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wshadow)
endif()
ocv_define_module(superres opencv_imgproc opencv_video ocv_define_module(superres opencv_imgproc opencv_video
OPTIONAL opencv_videoio opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc opencv_cudaoptflow opencv_cudacodec OPTIONAL opencv_videoio opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc opencv_cudaoptflow opencv_cudacodec
WRAP python) WRAP python)