Skip to content

Commit bd786f3

Browse files
committed
Merge pull request opencv#8520 from tomoaki0705:cudaWarningsSuppress
2 parents 739f87d + 731b5b2 commit bd786f3

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)