mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #4147 from alalek:fix_world_cyclic_deps
This commit is contained in:
commit
00b72df6c5
@ -4,6 +4,10 @@ if(HAVE_CUDA)
|
|||||||
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow)
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
|
||||||
|
if(BUILD_SHARED_LIBS AND BUILD_opencv_world)
|
||||||
|
set(STITCHING_CONTRIB_DEPS "")
|
||||||
|
endif()
|
||||||
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect
|
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect
|
||||||
OPTIONAL opencv_cudaarithm opencv_cudafilters opencv_cudafeatures2d opencv_cudalegacy opencv_xfeatures2d
|
OPTIONAL opencv_cudaarithm opencv_cudafilters opencv_cudafeatures2d opencv_cudalegacy ${STITCHING_CONTRIB_DEPS}
|
||||||
WRAP python)
|
WRAP python)
|
||||||
|
Loading…
Reference in New Issue
Block a user