meson: Don't allow glx to be built without platform_x11
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Oct 2017 22:47:11 +0000 (15:47 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 20 Oct 2017 23:46:48 +0000 (16:46 -0700)
commit8d3b1210cb2bb590c9af880dab087f27c64b88c3
tree614b22c0626e2c3ceb80b47d663c0b22b212a11e
parent8792a9e01b6e41584223c1898644f7d25e2cab2d
meson: Don't allow glx to be built without platform_x11

Previously this failed to change with_glx to disabled from auto if
platform_x11 was unset or if no opengl apis were being built.

v2: - swap conditional positions

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-and-Tested-by: Eric Engestrom <eric@engestrom.ch>
meson.build