mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 11:58:10 +02:00
meson: Don't build glsl compiler tests unless OpenGL is enabled
Since there are no other users of the glsl compiler. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
d84f003b95
commit
b781688636
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ glcpp = executable(
|
|||
build_by_default : false,
|
||||
)
|
||||
|
||||
if with_tests
|
||||
if with_any_opengl and with_tests
|
||||
modes = ['unix', 'windows', 'oldmac', 'bizarro']
|
||||
if dep_valgrind.found()
|
||||
modes += ['valgrind']
|
||||
|
|
|
|||
|
|
@ -258,6 +258,6 @@ glsl_test = executable(
|
|||
install : with_tools.contains('glsl'),
|
||||
)
|
||||
|
||||
if with_tests
|
||||
if with_any_opengl and with_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue