meson: make fractional scale optional.

This commit is contained in:
yangyingchao 2023-07-19 07:31:23 +08:00
parent fdd753263b
commit 62cc368047
3 changed files with 11 additions and 5 deletions

View file

@ -26,3 +26,6 @@ option('utmp-backend', type: 'combo', value: 'auto', choices: ['none', 'libutemp
description: 'Which utmp logging backend to use. This affects how (with what arguments) the utmp helper binary (see \'utmp-default-helper-path\')is called. Default: auto (linux=libutempter, freebsd=ulog, others=none)')
option('utmp-default-helper-path', type: 'string', value: 'auto',
description: 'Default path to the utmp helper binary. Default: auto-detect')
option('fractional-scale', type: 'boolean', value: true,
description: 'Enables fractional scale support (available after wayland-protocol-1.31)')