1 set(the_description "Images stitching") 2 3 if(HAVE_CUDA) 4 ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow) 5 endif() 6 7 ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect 8 OPTIONAL opencv_cudaarithm opencv_cudafilters opencv_cudafeatures2d opencv_cudalegacy opencv_xfeatures2d 9 WRAP python) 10