meson: Guard the gallium dri componenet
Currently the target has a redundant guard, and the state tracker isn't properly guarded. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
689fb74716
commit
c8417c8d25
|
@ -73,7 +73,9 @@ endif
|
||||||
if with_glx == 'gallium-xlib'
|
if with_glx == 'gallium-xlib'
|
||||||
subdir('winsys/sw/xlib')
|
subdir('winsys/sw/xlib')
|
||||||
endif
|
endif
|
||||||
subdir('state_trackers/dri')
|
if with_dri
|
||||||
|
subdir('state_trackers/dri')
|
||||||
|
endif
|
||||||
if with_osmesa == 'gallium'
|
if with_osmesa == 'gallium'
|
||||||
subdir('state_trackers/osmesa')
|
subdir('state_trackers/osmesa')
|
||||||
endif
|
endif
|
||||||
|
@ -87,7 +89,7 @@ endif
|
||||||
# TODO: SWR
|
# TODO: SWR
|
||||||
# TODO: virgl
|
# TODO: virgl
|
||||||
# TODO: clover
|
# TODO: clover
|
||||||
if with_dri and with_gallium
|
if with_dri
|
||||||
subdir('targets/dri')
|
subdir('targets/dri')
|
||||||
endif
|
endif
|
||||||
if with_osmesa == 'gallium'
|
if with_osmesa == 'gallium'
|
||||||
|
|
Loading…
Reference in New Issue