From: Stephen Barber Date: Tue, 24 Sep 2019 00:51:43 +0000 (-0700) Subject: nouveau: add idep_nir_headers as dep for libnouveau X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c3ace6991a67bffd4e1f7559c098b6861ef4162;p=mesa.git 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 --- 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(