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.ba...@intel.com> --- src/gallium/auxiliary/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build index eed70647927..eaa28b19f65 100644 --- a/src/gallium/auxiliary/meson.build +++ b/src/gallium/auxiliary/meson.build @@ -490,7 +490,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') ], -- 2.15.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev