Fixed include name in OpenCL on OS X

This commit is contained in:
Jan Machacek 2013-05-22 13:22:16 +01:00
parent 7d9041460a
commit 46b770f255
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
#include "opencv2/ocl/ocl.hpp"
#if defined __APPLE__
#include <OpenCL/OpenCL.h>
#include <OpenCL/opencl.h>
#else
#include <CL/opencl.h>
#endif

View File

@ -47,7 +47,7 @@
#define __OPENCV_OPENCL_SAFE_CALL_HPP__
#if defined __APPLE__
#include <OpenCL/OpenCL.h>
#include <OpenCL/opencl.h>
#else
#include <CL/cl.h>
#endif