Commit 581c9499 authored by Tomoaki Teshima's avatar Tomoaki Teshima

suppress noisy warning

  * limit the affect by using HAVE_CUDA
parent 6d656ca0
if(HAVE_CUDA)
add_definitions(-D_HFS_CUDA_ON_)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
endif()
set(the_description "Hierarchical Feature Selection for Efficient Image Segmentation")
......
set(the_description "Contributed/Experimental Algorithms for Salient 2D Features Detection")
if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
endif()
ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_shape opencv_ml opencv_cudaarithm WRAP python java)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/download_vgg.cmake)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment