X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=include%2Fmeson.build;h=a2e7ce6580e9822cc2df9ba7577828a54ca779af;hb=42ea0631f108d82554339530d6c88aa1b448af1e;hp=e4dae91cede1d55d981607f13b62b5e05fd6a3f9;hpb=425fcbde3f816e2a2efb8d1aed2442d40898d447;p=mesa.git diff --git a/include/meson.build b/include/meson.build index e4dae91cede..a2e7ce6580e 100644 --- a/include/meson.build +++ b/include/meson.build @@ -78,3 +78,22 @@ if with_gallium_st_nine subdir : 'd3dadapter', ) endif + +# Only install the headers if we are building a stand alone implementation and +# not an ICD enabled implementation +if with_gallium_opencl and not with_opencl_icd + install_headers( + 'CL/cl.h', + 'CL/cl.hpp', + 'CL/cl_d3d10.h', + 'CL/cl_d3d11.h', + 'CL/cl_dx9_media_sharing.h', + 'CL/cl_egl.h', + 'CL/cl_ext.h', + 'CL/cl_gl.h', + 'CL/cl_gl_ext.h', + 'CL/cl_platform.h', + 'CL/opencl.h', + subdir: 'CL' + ) +endif