meson: set apple glx defines
authorDylan Baker <dylan@pnwbakers.com>
Sat, 28 Oct 2017 04:08:07 +0000 (21:08 -0700)
committerJon Turney <jon.turney@dronecode.org.uk>
Mon, 5 Feb 2018 19:40:43 +0000 (19:40 +0000)
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
meson.build

index d6ffa30d9e5be43eca652f471802cae09e1923db..030ab0c626089e237997f583147061c5e1989783 100644 (file)
@@ -617,6 +617,8 @@ if with_platform_x11
     endif
     if with_dri_platform == 'drm'
       pre_args += '-DGLX_USE_DRM'
+    elif with_dri_platform == 'apple'
+      pre_args += '-DGLX_USE_APPLEGL'
     elif with_dri_platform == 'windows'
       pre_args += '-DGLX_USE_WINDOWSGL'
     endif