1
0
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:
Alexander Alekhin
2019-03-26 13:11:53 +03:00
parent 5f88bbe3d5
commit 6686559c70
4 changed files with 4 additions and 0 deletions
@@ -96,6 +96,7 @@
#define clWaitForEvents clWaitForEvents_
#if defined __APPLE__
#define CL_SILENCE_DEPRECATION
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>