Skip to content

Commit c7602a8

Browse files
committed
Merge pull request #3611 from asmorkalov:as/disable_cuda_surf
2 parents d680f58 + 144e188 commit c7602a8

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

+1-1
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)