meson: add nir_builder_opcodes_h to gallium_auxiliary

This creates a dependency on this header being generated before trying
to compile any of these targets, as well as passing the correct -I to
the compiler to ensure it's included correctly.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Dylan Baker 2017-11-02 13:58:22 -07:00
parent 7210d0096a
commit 140b688c57

View file

@ -489,7 +489,7 @@ u_format_table_c = custom_target(
libgallium = static_library(
'gallium',
[files_libgallium, u_indices_gen_c, u_unfilled_gen_c, u_format_table_c,
nir_opcodes_h],
nir_opcodes_h, nir_builder_opcodes_h],
include_directories : [
inc_loader, inc_gallium, inc_src, inc_include, include_directories('util')
],