suppress warning while building the samples

pull/11815/head
Tomoaki Teshima 7 years ago
parent 8b5e29c234
commit ffb9ce8287
  1. 2
      samples/opencl/opencl-opencv-interop.cpp

@ -14,6 +14,8 @@
#include <iomanip>
#include <stdexcept>
#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__

Loading…
Cancel
Save