Fix optional opencv dependency

This commit is contained in:
2021-12-03 23:08:40 +00:00
parent b61fd9d0e0
commit 96b7576a1d
4 changed files with 11 additions and 9 deletions
+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