From f8061ba3c88dc2d12eceec89cc7c56bb5fe19317 Mon Sep 17 00:00:00 2001 From: Adam Rankin Date: Wed, 7 Mar 2018 20:07:48 -0500 Subject: [PATCH] Enabling build of stitching when CUDA is available Without proposed change, module throws build error regarding missing `opencv2/cudaimgproc.hpp` --- modules/stitching/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stitching/CMakeLists.txt b/modules/stitching/CMakeLists.txt index 4955f9f0eb..03d550fb81 100644 --- a/modules/stitching/CMakeLists.txt +++ b/modules/stitching/CMakeLists.txt @@ -9,5 +9,5 @@ if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODUL set(STITCHING_CONTRIB_DEPS "") endif() ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann - OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy ${STITCHING_CONTRIB_DEPS} + OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS} WRAP python)