meson: Only build gallium state tracker tests with shared_glapi

This has always been a requirement, it's just somehow been missed in the
meson build.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Dylan Baker 2018-10-05 09:36:05 -07:00
parent 0fa6a8271a
commit d84f003b95
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ if with_gallium
subdir('gallium')
# This has to be here since it requires libgallium, and subdir cannot
# contain ..
if with_tests
if with_tests and with_shared_glapi
subdir('mesa/state_tracker/tests')
endif
endif