diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-10-28 15:17:52 +0000 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-10-28 15:17:52 +0000 |
| commit | 59a689a8b04b2cffb17cbd1fdf95965d6a820c6c (patch) | |
| tree | 0165fe27faae5dab4f1d8655af12b975da062994 | |
| parent | a7439f9732128a73148551c667e0284b9bb4a903 (diff) | |
| download | libepoxy-59a689a8b04b2cffb17cbd1fdf95965d6a820c6c.tar.gz | |
meson: Don't build glx tests if x11 is disabled
Fixes build failure when x11 is not found or disabled.
| -rw-r--r-- | test/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build index 02efa57..3eda320 100644 --- a/test/meson.build +++ b/test/meson.build @@ -74,7 +74,7 @@ if build_egl and build_x11_tests endforeach endif -if build_glx +if build_glx and build_x11_tests glx_common_sources = [ 'glx_common.h', 'glx_common.c', ] glx_common_lib = static_library('glx_common', sources: glx_common_sources, |
