suppress warnings from cuda

pull/8520/head
Tomoaki Teshima 8 years ago
parent c049275512
commit 731b5b206f
  1. 3
      modules/superres/CMakeLists.txt

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

Loading…
Cancel
Save