diff options
author | Dylan Baker <[email protected]> | 2018-10-05 09:37:32 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-10-09 08:56:00 -0700 |
commit | b781688636a42be2120047b868abc9bab823acbf (patch) | |
tree | 8d862c26ceedde3d76452fd9275b787b9fc9e429 /src/compiler/glsl/glcpp | |
parent | d84f003b9532b0e9386be6caabaf5bfc91645d69 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glcpp')
-rw-r--r-- | src/compiler/glsl/glcpp/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glcpp/meson.build b/src/compiler/glsl/glcpp/meson.build index 769406f5331..a03d589b370 100644 --- a/src/compiler/glsl/glcpp/meson.build +++ b/src/compiler/glsl/glcpp/meson.build @@ -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'] |