meson: Don't build glx tests if x11 is disabled

Fixes build failure when x11 is not found or disabled.
macos/v1.5.9
Nirbheek Chauhan 6 years ago
parent a7439f9732
commit 59a689a8b0
  1. 2
      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,

Loading…
Cancel
Save