apple friendly headers

pull/3471/head
kallaballa 2 years ago
parent b80d4bc22a
commit c323207e81
  1. 7
      modules/v4d/src/detail/framebuffercontext.hpp

@ -10,8 +10,11 @@
# ifndef CL_TARGET_OPENCL_VERSION # ifndef CL_TARGET_OPENCL_VERSION
# define CL_TARGET_OPENCL_VERSION 120 # define CL_TARGET_OPENCL_VERSION 120
# endif # endif
# include <CL/cl.h> # ifdef __APPLE__
# include <CL/cl_gl.h> # include <OpenCL/cl_gl_ext.h>
# else
# include <CL/cl_gl_ext.h>
# endif
#else #else
# define OPENCV_V4D_ES_VERSION 3 # define OPENCV_V4D_ES_VERSION 3
#endif #endif

Loading…
Cancel
Save