Salome HOME
Migration to OpenCASCADE CMake configuration: additional commit
authorrnv <rnv@opencascade.com>
Tue, 13 Mar 2018 08:40:25 +0000 (11:40 +0300)
committerrnv <rnv@opencascade.com>
Tue, 13 Mar 2018 08:40:25 +0000 (11:40 +0300)
src/ShapeRecognition/ShapeRec_FeatureDetector.hxx

index 7a9a0cec0b2d7f2cfc4787b1068f9737b882643e..e7b5d7b07516b266d29dccc1ab379601d243c8f9 100644 (file)
 //      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