mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-10-29 23:20:57 +00:00
add an option to enable/disable libliftoff
instead of always using it if found
This commit is contained in:
parent
a4e1184712
commit
385c9ade5f
@ -16,7 +16,7 @@ libliftoff = dependency(
|
|||||||
'libliftoff',
|
'libliftoff',
|
||||||
version: '>=0.4.0',
|
version: '>=0.4.0',
|
||||||
fallback: 'libliftoff',
|
fallback: 'libliftoff',
|
||||||
required: false,
|
required: get_option('libliftoff'),
|
||||||
)
|
)
|
||||||
|
|
||||||
if not (hwdata.found() and libdisplay_info.found() and features['session'])
|
if not (hwdata.found() and libdisplay_info.found() and features['session'])
|
||||||
|
@ -99,6 +99,7 @@ features = {
|
|||||||
internal_features = {
|
internal_features = {
|
||||||
'xcb-errors': false,
|
'xcb-errors': false,
|
||||||
'egl': false,
|
'egl': false,
|
||||||
|
'libliftoff': false,
|
||||||
}
|
}
|
||||||
internal_config = configuration_data()
|
internal_config = configuration_data()
|
||||||
|
|
||||||
|
@ -8,3 +8,4 @@ option('allocators', type: 'array', choices: ['auto', 'gbm'], value: ['auto'],
|
|||||||
description: 'Select built-in allocators')
|
description: 'Select built-in allocators')
|
||||||
option('session', type: 'feature', value: 'auto', description: 'Enable session support')
|
option('session', type: 'feature', value: 'auto', description: 'Enable session support')
|
||||||
option('color-management', type: 'feature', value: 'auto', description: 'Enable support for color management')
|
option('color-management', type: 'feature', value: 'auto', description: 'Enable support for color management')
|
||||||
|
option('libliftoff', type: 'feature', value: 'auto', description: 'Enable support for libliftoff')
|
||||||
|
Loading…
Reference in New Issue
Block a user