diff options
author | Dylan Baker <[email protected]> | 2018-04-18 10:53:27 -0700 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2018-04-25 14:04:53 +0200 |
commit | 53ff157c335a6941035e87e6656e8c2860380bcf (patch) | |
tree | 73e6967d738b76b9c772fd467b9d1b7fd5567761 | |
parent | 3b9b66560a6f5e6a349e144be20c32cd2ed76aa4 (diff) |
meson: don't build classic mesa tests without dri_drivers
Since mesa_classic is build-on-demand the tests will create a demand and
add a bunch of extra compilation.
Fixes: 43a6e84927e3b1290f6f211f5dfb184dfe5a719e
("meson: build mesa test.")
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit aaab6242456a4a5e737da0add179704b0b6f3676)
-rw-r--r-- | src/mesa/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/meson.build b/src/mesa/meson.build index 32eed5231b6..35748e10c09 100644 --- a/src/mesa/meson.build +++ b/src/mesa/meson.build @@ -732,6 +732,6 @@ endif if with_glx == 'xlib' subdir('drivers/x11') endif -if with_tests +if with_tests and dri_drivers != [] subdir('main/tests') endif |