mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
suppress warning while building the samples
This commit is contained in:
parent
8b5e29c234
commit
ffb9ce8287
@ -14,6 +14,8 @@
|
|||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <stdexcept>
|
#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
|
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
Loading…
Reference in New Issue
Block a user