add an option to enable/disable libliftoff

instead of always using it if found
master
Leonardo Hernández Hernández 10 months ago
parent a4e1184712
commit 385c9ade5f
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

@ -16,7 +16,7 @@ libliftoff = dependency(
'libliftoff',
version: '>=0.4.0',
fallback: 'libliftoff',
required: false,
required: get_option('libliftoff'),
)
if not (hwdata.found() and libdisplay_info.found() and features['session'])

@ -99,6 +99,7 @@ features = {
internal_features = {
'xcb-errors': false,
'egl': false,
'libliftoff': false,
}
internal_config = configuration_data()

@ -8,3 +8,4 @@ option('allocators', type: 'array', choices: ['auto', 'gbm'], value: ['auto'],
description: 'Select built-in allocators')
option('session', type: 'feature', value: 'auto', description: 'Enable session support')
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…
Cancel
Save