diff --git a/src/xmi_solid_angle_cl.c b/src/xmi_solid_angle_cl.c index 335af6c0..34ccccac 100644 --- a/src/xmi_solid_angle_cl.c +++ b/src/xmi_solid_angle_cl.c @@ -35,6 +35,9 @@ along with this program. If not, see . // Silence warnings about using deprecated OpenCL 1.2 functions. #define CL_USE_DEPRECATED_OPENCL_1_2_APIS +// Silence warnings on Ubuntu +#define CL_TARGET_OPENCL_VERSION 110 + #ifdef HAVE_OPENCL_CL_H #include #elif defined(HAVE_CL_CL_H)