mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
make systemd feature configurable
This commit is contained in:
parent
905f317666
commit
aa8aa2ad2e
3 changed files with 6 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
|||
project('espeakup', 'c',
|
||||
version : '0.81',
|
||||
default_options : ['buildtype=debugoptimized', 'c_std=gnu11', 'warning_level=3'],
|
||||
license : 'GPL-3.0-or-later',
|
||||
default_options : ['buildtype=debugoptimized', 'c_std=gnu11', 'warning_level=3'])
|
||||
version : '0.81',
|
||||
meson_version : '>=0.47.0')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
thread_dep = dependency('threads')
|
||||
|
|
|
|||
2
meson_options.txt
Normal file
2
meson_options.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
option('systemd', type : 'feature', value : 'auto',
|
||||
description :'enable systemd support')
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
systemd = dependency('systemd', required: false)
|
||||
systemd = dependency('systemd', required: get_option('systemd'))
|
||||
if systemd.found()
|
||||
subdir('systemd')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue