Skip to content
Snippets Groups Projects
Commit c73abb4f authored by Dylan Baker's avatar Dylan Baker
Browse files

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: 34cb4d0e
       ("meson: build tests for gallium mesa state tracker")
Signed-off-by: default avatarDylan Baker <dylan.c.baker@intel.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent aaab6242
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment