diff options
author | Dave Airlie <[email protected]> | 2018-03-14 06:06:00 +1000 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-03-16 13:19:45 -0400 |
commit | 7aeef2d4efdc809a698e9b983c8be8e4ccb27134 (patch) | |
tree | 600be5aa6efe62480995686d8c740ec6f58bbba7 /meson.build | |
parent | f099c3aef1635f05f295969d296375fe9983a53a (diff) |
dri3: allow building against older xcb (v3)
I'm not sure everyone wants to be updating their dri3 in a forced
march setting, this allows a nicer approach, esp when you want
to build on distro that aren't brand new.
I'm sure there are plenty of ways this patch could be cleaner,
and I've also not built it against an updated dri3.
For meson I've just left it alone, since if you are using meson
you probably don't mind xcb updates, and if you are using meson
you can fix this better than me.
v3: just don't put a version in for dri3/present without
modifiers, should allow building with 1.11 as well
(feel free to supply meson followups)
Signed-off-by: Dave Airlie <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index e21ac74a1e3..557e9ef3397 100644 --- a/meson.build +++ b/meson.build @@ -1235,7 +1235,7 @@ if with_platform_x11 dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8') if with_dri3 - pre_args += '-DHAVE_DRI3' + pre_args += '-DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS' dep_xcb_dri3 = dependency('xcb-dri3', version : '>= 1.13') dep_xcb_present = dependency('xcb-present', version: '>= 1.13') dep_xcb_sync = dependency('xcb-sync') |