fosphor/cl: Declare the target OpenCL version to avoid warning
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
15f7a07909
commit
51af8dd083
|
@ -27,6 +27,7 @@
|
|||
# define _WIN32
|
||||
#endif
|
||||
|
||||
#define CL_TARGET_OPENCL_VERSION 120
|
||||
|
||||
#if defined(__APPLE__) || defined(MACOSX)
|
||||
# include <OpenCL/cl.h>
|
||||
|
|
Loading…
Reference in New Issue