From 6b4c7047d57178d3362a710ad503057c6a582ca3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 13 Nov 2017 17:58:51 -0800 Subject: meson: build gallium nine state_tracker v2: - set d3d_drivers_path instead of dri_drivers_path - Fix nine guard to check for all relavent gallium drivers - Link with libswdri and libswkmsdri when necessary - Fix pkg-config generation - Add missing comma Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom --- include/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/meson.build b/include/meson.build index 424d89acc83..e4dae91cede 100644 --- a/include/meson.build +++ b/include/meson.build @@ -20,6 +20,7 @@ inc_drm_uapi = include_directories('drm-uapi') inc_vulkan = include_directories('vulkan') +inc_d3d9 = include_directories('D3D9') if with_gles1 install_headers( @@ -70,3 +71,10 @@ endif if with_dri install_headers('GL/internal/dri_interface.h', subdir : 'GL/internal') endif + +if with_gallium_st_nine + install_headers( + 'd3dadapter/d3dadapter9.h', 'd3dadapter/drm.h', 'd3dadapter/present.h', + subdir : 'd3dadapter', + ) +endif -- cgit v1.2.3