meson: Make X11 support an optional feature

Closes #255

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/326>
This commit is contained in:
Sophie Herold 2023-11-30 21:27:52 +01:00
parent 8c817a3ec6
commit b44412fac6
4 changed files with 16 additions and 3 deletions

View file

@ -7,11 +7,16 @@ option(
'development',
'ci',
],
value: 'release'
value: 'release',
)
option(
'disable-glycin-sandbox',
type: 'boolean',
description: 'Disable sandboxing of image loaders in glycin. Only intended for development purposes.',
value: false
value: false,
)
option(
'x11',
type: 'feature',
description: 'Enable X11 specific features.',
)