Skip to content

Commit 144e188

Browse files
committed
Disable SUFF CUDA kenrel build by default.
1 parent ab4bfc2 commit 144e188

File tree

1 file changed

+1
-1
lines changed
  • modules/xfeatures2d/src/cuda

1 file changed

+1
-1
lines changed

modules/xfeatures2d/src/cuda/surf.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
#include "opencv2/opencv_modules.hpp"
4444

45-
#ifdef HAVE_OPENCV_CUDAARITHM
45+
#if defined(HAVE_OPENCV_CUDAARITHM) && defined(OPENCV_ENABLE_NONFREE)
4646

4747
#include "opencv2/core/cuda/common.hpp"
4848
#include "opencv2/core/cuda/limits.hpp"

0 commit comments

Comments
 (0)