From fff99af7754c62249f833bf1d41b0206e378cbea Mon Sep 17 00:00:00 2001 From: TinyOh Date: Mon, 1 Apr 2019 18:13:34 +0800 Subject: [PATCH] fix(api): opencv 2 complie --- src/mynteye/api/processor/disparity_processor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mynteye/api/processor/disparity_processor.cc b/src/mynteye/api/processor/disparity_processor.cc index 4408bed..4537ce4 100644 --- a/src/mynteye/api/processor/disparity_processor.cc +++ b/src/mynteye/api/processor/disparity_processor.cc @@ -17,8 +17,9 @@ #include #include +#ifndef WITH_OPENCV2 #include - +#endif #include "mynteye/logger.h" MYNTEYE_BEGIN_NAMESPACE