Module: Mesa
Branch: main
Commit: 6d9ca1d4e452bf45d71462716a6241c981fa4360
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d9ca1d4e452bf45d71462716a6241c981fa4360

Author: Daniel Schürmann <[email protected]>
Date:   Fri Jul  9 22:19:23 2021 +0200

util/meson: include inc_gallium

There are several dependencies on headers from
   /gallium/include/pipe/

which currently mean that dependencies on util
must include gallium to compile.

Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11811>

---

 src/util/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/meson.build b/src/util/meson.build
index b024cbb43e9..aa5bfef5dbc 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -225,7 +225,7 @@ _libmesa_util = static_library(
 
 idep_mesautil = declare_dependency(
   link_with : _libmesa_util,
-  include_directories : inc_util,
+  include_directories : [inc_util, inc_gallium],
   dependencies : [dep_zlib, dep_clock, dep_thread, dep_atomic, dep_m, 
dep_valgrind],
 )
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to