提交 5c615ec2 编写于 作者: V Vadim Pisarevsky

added optional dependency stitching->nonfree. When nonfree is available, make...

added optional dependency stitching->nonfree. When nonfree is available, make sure linker does not throw it away.
上级 1c616f43
set(the_description "Images stitching")
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect OPTIONAL opencv_gpu)
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect OPTIONAL opencv_gpu opencv_nonfree)
......@@ -50,6 +50,12 @@ using namespace cv::detail;
using namespace cv::gpu;
#endif
#ifdef HAVE_OPENCV_NONFREE
#include "opencv2/nonfree/nonfree.hpp"
static bool makeUseOfNonfree = initModule_nonfree();
#endif
namespace {
struct DistIdxPair
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册