add an option to enable/disable libliftoff

instead of always using it if found
This commit is contained in:
Leonardo Hernández Hernández 2024-06-05 22:33:05 -06:00
parent a4e1184712
commit 385c9ade5f
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 3 additions and 1 deletions

View file

@ -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'])