fosphor/cl: Declare the target OpenCL version to avoid warning

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2019-12-01 19:46:15 +01:00
parent 15f7a07909
commit 51af8dd083
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
# define _WIN32
#endif
#define CL_TARGET_OPENCL_VERSION 120
#if defined(__APPLE__) || defined(MACOSX)
# include <OpenCL/cl.h>