mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-14 05:34:28 -04:00
backend/drm: add libliftoff interface
This commit is contained in:
parent
b4e9487312
commit
9d43e7e4d6
11 changed files with 415 additions and 3 deletions
|
|
@ -5,6 +5,13 @@ hwdata = dependency(
|
|||
not_found_message: 'Required for the DRM backend.',
|
||||
)
|
||||
|
||||
libliftoff = dependency(
|
||||
'libliftoff',
|
||||
version: '>=0.2.0',
|
||||
fallback: 'libliftoff',
|
||||
required: false,
|
||||
)
|
||||
|
||||
if not (hwdata.found() and features['session'])
|
||||
subdir_done()
|
||||
endif
|
||||
|
|
@ -32,4 +39,10 @@ wlr_files += files(
|
|||
'util.c',
|
||||
)
|
||||
|
||||
if libliftoff.found()
|
||||
wlr_files += files('libliftoff.c')
|
||||
endif
|
||||
|
||||
features += { 'drm-backend': true }
|
||||
internal_features += { 'libliftoff': libliftoff.found() }
|
||||
wlr_deps += libliftoff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue