Skip to content

Commit 4ae4473

Browse files
committed
Merge pull request #2217 from tomoaki0705:suppressNoisyWarning
2 parents 4c2ef47 + 581c949 commit 4ae4473

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

modules/hfs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
if(HAVE_CUDA)
22
add_definitions(-D_HFS_CUDA_ON_)
3+
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
34
endif()
45

56
set(the_description "Hierarchical Feature Selection for Efficient Image Segmentation")

modules/xfeatures2d/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
set(the_description "Contributed/Experimental Algorithms for Salient 2D Features Detection")
22

3+
if(HAVE_CUDA)
4+
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
5+
endif()
36
ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_shape opencv_ml opencv_cudaarithm WRAP python java)
47

58
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/download_vgg.cmake)

0 commit comments

Comments
 (0)