From 8c3ace6991a67bffd4e1f7559c098b6861ef4162 Mon Sep 17 00:00:00 2001 From: Stephen Barber Date: Mon, 23 Sep 2019 17:51:43 -0700 Subject: [PATCH] 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 Reviewed-by: Eric Engestrom Reviewed-by: Karol Herbst --- src/gallium/drivers/nouveau/meson.build | 4 ++-- 1 file 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( -- 2.30.2