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>
if with_glx == 'gallium-xlib'
subdir('winsys/sw/xlib')
endif
-subdir('state_trackers/dri')
+if with_dri
+ subdir('state_trackers/dri')
+endif
if with_osmesa == 'gallium'
subdir('state_trackers/osmesa')
endif
# TODO: SWR
# TODO: virgl
# TODO: clover
-if with_dri and with_gallium
+if with_dri
subdir('targets/dri')
endif
if with_osmesa == 'gallium'