mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
fix the warning on Linux when OpenCL 1.2 not supported
This commit is contained in:
parent
2e3f4fdada
commit
1a488c0542
@ -46,6 +46,9 @@
|
||||
#include "mcwutil.hpp"
|
||||
|
||||
#if defined (HAVE_OPENCL)
|
||||
#ifndef CL_VERSION_1_2
|
||||
#define CL_VERSION_1_2 0
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user