Fix optional opencv dependency

This commit is contained in:
jfmcarreira committed 2021-12-03 23:08:40 +00:00
1 parent b61fd9d0e0
commit 96b7576a1d
4 files changed
+11 -9

No files matched your search

+4 -2
View File
@@ -24,12 +24,14 @@
#include "CalypModuleIf.h"
#include <opencv2/opencv.hpp>
#include "CalypFrame.h"
#include "PixelFormats.h"
#include "config.h"
#ifdef USE_OPENCV
#include <opencv2/opencv.hpp>
#endif
bool CalypOpenCVModuleIf::create( std::vector<CalypFrame*> apcFrameList )
{
#ifdef USE_OPENCV