meson: add logic to select apple and windows dri
authorDylan Baker <dylan@pnwbakers.com>
Sat, 28 Oct 2017 00:20:52 +0000 (17:20 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 22 Nov 2017 20:47:43 +0000 (12:47 -0800)
commit33627d23d03ee6273c5aa874a85978777271582f
treee3398feaefbc0ccc86b1634748269c6e604ec88d
parent2d1a3bf657281509b3f602f71c9d9821b72675e4
meson: add logic to select apple and windows dri

This is still not fully correct (haiku and BSD is notably probably not
correct), but Linux is not regressed and this should be correct for
macOS and Windows.

v2: - set the dri_platform to windows on Cygwin as well (Jon)
v3: - Add a better todo for Hurd (Eric)

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