Merge remote-tracking branch 'upstream/3.4' into merge-3.4
[platform/upstream/opencv.git] / modules / stitching / CMakeLists.txt
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 set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
8 if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODULES)
9   set(STITCHING_CONTRIB_DEPS "")
10 endif()
11 ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann
12                   OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS}
13                   WRAP python)