Fix build error when WITH_OPENCL is disabled.
authorpeng xiao <hisenxpress@gmail.com>
Wed, 21 Aug 2013 03:18:02 +0000 (11:18 +0800)
committerpeng xiao <hisenxpress@gmail.com>
Wed, 21 Aug 2013 03:18:02 +0000 (11:18 +0800)
modules/bioinspired/test/test_retina_ocl.cpp

index ea40bf6..ee01d90 100644 (file)
 #include "opencv2/bioinspired.hpp"
 #include "opencv2/imgproc.hpp"
 #include "opencv2/highgui.hpp"
-#include "opencv2/ocl.hpp"
 
 #if defined(HAVE_OPENCV_OCL) && defined(HAVE_OPENCL)
 
+#include "opencv2/ocl.hpp"
 #define RETINA_ITERATIONS 5
 
 static double checkNear(const cv::Mat &m1, const cv::Mat &m2)