2012-02-03 19:26:49 +08:00
|
|
|
set(the_description "Images stitching")
|
2014-12-24 21:06:09 +08:00
|
|
|
|
|
|
|
if(HAVE_CUDA)
|
2019-08-08 20:49:32 +08:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow -Wstrict-aliasing)
|
2014-12-24 21:06:09 +08:00
|
|
|
endif()
|
|
|
|
|
2015-06-23 01:14:30 +08:00
|
|
|
set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
|
2017-01-16 23:12:38 +08:00
|
|
|
if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODULES)
|
2015-06-23 01:14:30 +08:00
|
|
|
set(STITCHING_CONTRIB_DEPS "")
|
|
|
|
endif()
|
2020-12-02 04:42:15 +08:00
|
|
|
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_3d opencv_flann
|
2018-03-08 09:07:48 +08:00
|
|
|
OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS}
|
2015-02-24 23:38:12 +08:00
|
|
|
WRAP python)
|