mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
meson: only build mesa_st tests when build-tests is true
Since we have an option to turn test building on and off, we should
honor that.
Fixes: 34cb4d0ebc
("meson: build tests for gallium mesa state tracker")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
aaab624245
commit
c73abb4f82
1 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,9 @@ if with_gallium
|
|||
subdir('gallium')
|
||||
# This has to be here since it requires libgallium, and subdir cannot
|
||||
# contain ..
|
||||
subdir('mesa/state_tracker/tests')
|
||||
if with_tests
|
||||
subdir('mesa/state_tracker/tests')
|
||||
endif
|
||||
endif
|
||||
|
||||
# This must be after at least mesa, glx, and gallium, since libgl will be
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue