mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
meson: don't build gallium dri target if gallium is disabled
Otherwise -Dgallium-drivers= will cause libmesa_gallium to be built and
the megadriver install script to attempt to install drivers without any
actual drivers being built.
fixes: 66f97f6640 ("meson: build radeonsi")
Reported-by: Rafael Antognolli <rafael.antognolli@intel.com>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
parent
087e010b2b
commit
a447f9fe7b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ subdir('state_trackers/dri')
|
|||
# TODO: virgl
|
||||
# TODO: winsys/sw/xlib
|
||||
# TODO: clover
|
||||
if with_dri
|
||||
if with_dri and with_gallium
|
||||
subdir('targets/dri')
|
||||
endif
|
||||
# TODO: xlib-glx
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue