Skip to content

Commit 731b5b2

Browse files
committed
suppress warnings from cuda
1 parent c049275 commit 731b5b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/superres/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ if(IOS OR WINRT)
33
endif()
44

55
set(the_description "Super Resolution")
6+
if(HAVE_CUDA)
7+
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wshadow)
8+
endif()
69
ocv_define_module(superres opencv_imgproc opencv_video
710
OPTIONAL opencv_videoio opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc opencv_cudaoptflow opencv_cudacodec
811
WRAP python)

0 commit comments

Comments
 (0)