suppress warnings from cuda

This commit is contained in:
Tomoaki Teshima 2017-04-05 08:30:16 +09:00
parent c049275512
commit 731b5b206f

View File

@ -3,6 +3,9 @@ if(IOS OR WINRT)
endif()
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
OPTIONAL opencv_videoio opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc opencv_cudaoptflow opencv_cudacodec
WRAP python)