opencv/modules/stitching/CMakeLists.txt

14 lines
555 B
CMake
Raw Normal View History

set(the_description "Images stitching")
2014-12-24 21:06:09 +08:00
if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow)
2014-12-24 21:06:09 +08:00
endif()
2015-06-23 01:14:30 +08:00
set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
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()
2017-03-13 23:53:52 +08:00
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d
OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy ${STITCHING_CONTRIB_DEPS}
2015-02-24 23:38:12 +08:00
WRAP python)