From 93bb870bc5d6053841ffb866570e9fe8d8af2286 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 13 Mar 2018 11:40:25 +0300 Subject: [PATCH] Migration to OpenCASCADE CMake configuration: additional commit --- .../ShapeRec_FeatureDetector.hxx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx b/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx index 7a9a0cec0..e7b5d7b07 100644 --- a/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx +++ b/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx @@ -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 -#include -#include -#include -#define HAVE_TBB + #undef HAVE_TBB + #include + #include + #include + #include + #define HAVE_TBB +#else + #include + #include + #include + #include #endif // Qt -- 2.39.2