OSDN Git Service

meson: add nir_builder_opcodes_h to gallium_auxiliary
authorDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 20:58:22 +0000 (13:58 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 10 Nov 2017 20:59:54 +0000 (12:59 -0800)
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>
src/gallium/auxiliary/meson.build

index 90de5ff..3e623fd 100644 (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')
   ],