diff options
author | Stephen Barber <[email protected]> | 2019-09-23 17:51:43 -0700 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-09-24 17:27:20 +0000 |
commit | 8c3ace6991a67bffd4e1f7559c098b6861ef4162 (patch) | |
tree | de6401a144f16b47332a967be96a9d84c22c39b2 | |
parent | 780182f0a0caa9b6f48f87b1930b3bcba1ac9319 (diff) |
nouveau: add idep_nir_headers as dep for libnouveau
Fixes a compilation error when building libnouveau:
In file included from ../src/gallium/drivers/nouveau/nv50/nv50_program.c:25:
../src/compiler/nir/nir.h:1115:10: fatal error: nir_intrinsics.h: No such file or directory
#include "nir_intrinsics.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
Fixes: f014ae3c7cce504afe5d ("nouveau: add support for nir")
Signed-off-by: Stephen Barber <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
-rw-r--r-- | src/gallium/drivers/nouveau/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/meson.build b/src/gallium/drivers/nouveau/meson.build index 9369777de83..2e65a81f024 100644 --- a/src/gallium/drivers/nouveau/meson.build +++ b/src/gallium/drivers/nouveau/meson.build @@ -210,13 +210,13 @@ files_libnouveau = files( libnouveau = static_library( 'nouveau', - [files_libnouveau, nir_opcodes_h], + files_libnouveau, include_directories : [ inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_common, ], c_args : [c_vis_args], cpp_args : [cpp_vis_args], - dependencies : [dep_libdrm, dep_libdrm_nouveau], + dependencies : [dep_libdrm, dep_libdrm_nouveau, idep_nir_headers], ) nouveau_compiler = executable( |