meson: Require EGL when tests are enabled

The tests require an EGL context to run.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Gert Wollny 3 years ago
parent b9d859fbe6
commit e19259f02d
  1. 1
      meson.build

@ -245,6 +245,7 @@ subdir('src')
subdir('vtest')
if with_tests
assert(have_egl, 'Tests require EGL, but it is not available')
subdir('tests')
endif

Loading…
Cancel
Save