meson: add src/util to the drirc search path

With this, we pick up new in-tree defaults for driconfig variables
when using meson devenv. This is useful for testing new config
variables.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21808>
This commit is contained in:
Erik Faye-Lund 2023-03-09 08:52:33 +01:00 committed by Marge Bot
parent 6c5a9ede64
commit 128c2bdf73

View file

@ -336,6 +336,8 @@ idep_xmlconfig = declare_dependency(
files_xxd = files('xxd.py')
glsl2spirv = files('glsl2spirv.py')
devenv.set('DRIRC_CONFIGDIR', meson.current_source_dir())
if with_tests
# DRI_CONF macros use designated initializers (required for union
# initializaiton), so we need c++2a since gtest forces us to use c++