Skip to content

Commit f8061ba

Browse files
authored
Enabling build of stitching when CUDA is available
Without proposed change, module throws build error regarding missing `opencv2/cudaimgproc.hpp`
1 parent 8edc2e5 commit f8061ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/stitching/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODUL
99
set(STITCHING_CONTRIB_DEPS "")
1010
endif()
1111
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann
12-
OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy ${STITCHING_CONTRIB_DEPS}
12+
OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS}
1313
WRAP python)

0 commit comments

Comments
 (0)