Migration to OpenCASCADE CMake configuration: additional commit

This commit is contained in:
rnv 2018-03-13 11:40:25 +03:00
parent 9fe1f193a4
commit 93bb870bc5

View File

@ -28,12 +28,17 @@
// This workaround will be removed after correction of the
// https://tracker.dev.opencascade.org/view.php?id=28457 issue.
#ifdef HAVE_TBB
#undef HAVE_TBB
#include <cv.h>
#include <highgui.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#define HAVE_TBB
#undef HAVE_TBB
#include <cv.h>
#include <highgui.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#define HAVE_TBB
#else
#include <cv.h>
#include <highgui.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#endif
// Qt