mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
ocl: define CL_SILENCE_DEPRECATION on MacOSX
This commit is contained in:
@@ -96,6 +96,7 @@
|
||||
#define clWaitForEvents clWaitForEvents_
|
||||
|
||||
#if defined __APPLE__
|
||||
#define CL_SILENCE_DEPRECATION
|
||||
#include <OpenCL/cl.h>
|
||||
#else
|
||||
#include <CL/cl.h>
|
||||
|
||||
Reference in New Issue
Block a user