From ffb9ce82872e057b2ae88390bd43bc7526487649 Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Sat, 23 Jun 2018 21:35:25 +0900 Subject: [PATCH] suppress warning while building the samples --- samples/opencl/opencl-opencv-interop.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/opencl/opencl-opencv-interop.cpp b/samples/opencl/opencl-opencv-interop.cpp index c6630ea45b..d2961af777 100644 --- a/samples/opencl/opencl-opencv-interop.cpp +++ b/samples/opencl/opencl-opencv-interop.cpp @@ -14,6 +14,8 @@ #include #include +#define CL_USE_DEPRECATED_OPENCL_1_1_APIS +#define CL_USE_DEPRECATED_OPENCL_1_2_APIS #define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning #ifdef __APPLE__