Fixed building with OpenCL, but without the ocl module.

HAVE_opencv_ocl implies HAVE_OPENCL, so checking for both is not
necessary.
This commit is contained in:
Roman Donchenko
2013-10-30 14:02:08 +04:00
parent 8a4f1bbbdf
commit d07e7897a0
3 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@
#include "perf_precomp.hpp"
#ifdef HAVE_OPENCL
#ifdef HAVE_OPENCV_OCL
#include "opencv2/ocl/ocl.hpp"
using namespace std;