mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-01 13:44:40 +00:00
[Meson] Change jack-devel option to be boolean
This commit is contained in:
parent
8dc8fb55f2
commit
a5e3d3f7a7
|
@ -52,8 +52,8 @@ option('pipewire-jack',
|
|||
value: 'enabled')
|
||||
option('jack-devel',
|
||||
description: 'Install jack development files',
|
||||
type: 'feature',
|
||||
value: 'disabled')
|
||||
type: 'boolean',
|
||||
value: 'false')
|
||||
option('libjack-path',
|
||||
description: 'Where to install the libjack.so library',
|
||||
type: 'string')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
jack_inc = include_directories('.')
|
||||
if get_option('jack-devel').enabled()
|
||||
if get_option('jack-devel') == true
|
||||
install_subdir('jack', install_dir: get_option('includedir'), strip_directory: false)
|
||||
endif
|
||||
subdir('src')
|
||||
|
|
|
@ -68,7 +68,7 @@ pipewire_jackserver = shared_library('jacknet',
|
|||
install_dir : libjack_path,
|
||||
)
|
||||
|
||||
if get_option('jack-devel').enabled()
|
||||
if get_option('jack-devel') == true
|
||||
pkgconfig.generate(filebase : 'jack',
|
||||
libraries : [pipewire_jack, pipewire_jackserver],
|
||||
name : 'jack',
|
||||
|
|
Loading…
Reference in a new issue