From b5a6b1f0a31d1e5cacfa3ebd482ad78e6de5349f Mon Sep 17 00:00:00 2001 From: Alexander Mordvintsev Date: Fri, 29 Aug 2014 14:07:32 +0400 Subject: [PATCH] make opencv_cudaarithm dependency for xfeatures2d optional --- modules/xfeatures2d/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/xfeatures2d/CMakeLists.txt b/modules/xfeatures2d/CMakeLists.txt index 63b4240e5..2dd2ce87f 100644 --- a/modules/xfeatures2d/CMakeLists.txt +++ b/modules/xfeatures2d/CMakeLists.txt @@ -1,2 +1,3 @@ set(the_description "Contributed/Experimental Algorithms for Salient 2D Features Detection") -ocv_define_module(xfeatures2d opencv_core opencv_cudaarithm opencv_imgproc opencv_features2d opencv_calib3d opencv_shape opencv_highgui opencv_videoio opencv_ml) +ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d opencv_shape opencv_highgui opencv_videoio opencv_ml + OPTIONAL opencv_cudaarithm)