mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make fftw optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
68a86dded4
commit
d9b0c66e30
2 changed files with 8 additions and 5 deletions
10
meson.build
10
meson.build
|
|
@ -280,16 +280,16 @@ if bluez_dep.found()
|
|||
endif
|
||||
endif
|
||||
|
||||
fftw_dep = dependency('fftw3f', required : get_option('fftw'))
|
||||
if fftw_dep.found()
|
||||
cdata.set('HAVE_FFTW', 1)
|
||||
endif
|
||||
|
||||
jack_dep = dependency('jack', version : '>= 0.117.0', required : get_option('jack'))
|
||||
if jack_dep.found()
|
||||
cdata.set('HAVE_JACK', 1)
|
||||
endif
|
||||
|
||||
fftw_dep = dependency('fftw3f', required : false)
|
||||
if fftw_dep.found()
|
||||
cdata.set('HAVE_FFTW', 1)
|
||||
endif
|
||||
|
||||
lirc_dep = dependency('lirc', required : false)
|
||||
if lirc_dep.found()
|
||||
cdata.set('HAVE_LIRC', 1)
|
||||
|
|
|
|||
|
|
@ -35,6 +35,9 @@ option('bluez5-ofono-headset',
|
|||
option('dbus',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional D-Bus support')
|
||||
option('fftw',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional FFTW support')
|
||||
option('jack',
|
||||
type : 'feature', value : 'auto',
|
||||
description : 'Optional JACK support')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue