From cbae43175268253dfb795ca5d3b34062d1a40184 Mon Sep 17 00:00:00 2001 From: juanitov Date: Thu, 17 May 2018 01:56:37 +0200 Subject: [PATCH] Fix HAVE_TBB is not defined in pyrlk.cu in spite of CMake TBB option is ON --- modules/gpu/src/cuda/pyrlk.cu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gpu/src/cuda/pyrlk.cu b/modules/gpu/src/cuda/pyrlk.cu index 518ef63fa4..8ceca5c61e 100644 --- a/modules/gpu/src/cuda/pyrlk.cu +++ b/modules/gpu/src/cuda/pyrlk.cu @@ -51,6 +51,8 @@ #include "opencv2/core/core.hpp" +#include "cvconfig.h" + using namespace cv::gpu; using namespace cv::gpu::device;