backend/drm: add support for libliftoff v0.5.0

Don't require libliftoff 0.5.0 just yet: we want to be able to
backport this patch.

(cherry-picked from commit 6e6c4408d3)
This commit is contained in:
Simon Ser 2024-05-28 00:30:33 +02:00 committed by Consolatis
parent bc73e507ab
commit 1bfd0613ca
2 changed files with 6 additions and 0 deletions

View file

@ -47,6 +47,7 @@ wlr_files += files(
if libliftoff.found()
wlr_files += files('libliftoff.c')
internal_config.set10('HAVE_LIBLIFTOFF_0_5', libliftoff.version().version_compare('>=0.5.0'))
endif
features += { 'drm-backend': true }