From 144e18867cda6348cf9ea75e7b80b14fef8a3c06 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Tue, 26 Dec 2023 16:57:27 +0300 Subject: [PATCH] Disable SUFF CUDA kenrel build by default. --- modules/xfeatures2d/src/cuda/surf.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xfeatures2d/src/cuda/surf.cu b/modules/xfeatures2d/src/cuda/surf.cu index b8ef4d627e4..2630cf9e64b 100644 --- a/modules/xfeatures2d/src/cuda/surf.cu +++ b/modules/xfeatures2d/src/cuda/surf.cu @@ -42,7 +42,7 @@ #include "opencv2/opencv_modules.hpp" -#ifdef HAVE_OPENCV_CUDAARITHM +#if defined(HAVE_OPENCV_CUDAARITHM) && defined(OPENCV_ENABLE_NONFREE) #include "opencv2/core/cuda/common.hpp" #include "opencv2/core/cuda/limits.hpp"