CMakeLists.txt 605 B

12345678910111213
  1. set(the_description "Images stitching")
  2. if(HAVE_CUDA)
  3. ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow -Wstrict-aliasing)
  4. endif()
  5. set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
  6. if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODULES)
  7. set(STITCHING_CONTRIB_DEPS "")
  8. endif()
  9. ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann
  10. OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS}
  11. WRAP python)