Add options for pulseaudio and libnl
parent
a63650aa67
commit
73553802f9
|
@ -34,9 +34,9 @@ wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots'])
|
|||
gtkmm = dependency('gtkmm-3.0')
|
||||
jsoncpp = dependency('jsoncpp')
|
||||
sigcpp = dependency('sigc++-2.0')
|
||||
libnl = dependency('libnl-3.0', required: false)
|
||||
libnlgen = dependency('libnl-genl-3.0', required: false)
|
||||
libpulse = dependency('libpulse', required: false)
|
||||
libnl = dependency('libnl-3.0', required: get_option('libnl'))
|
||||
libnlgen = dependency('libnl-genl-3.0', required: get_option('libnl'))
|
||||
libpulse = dependency('libpulse', required: get_option('pulseaudio'))
|
||||
|
||||
src_files = files(
|
||||
'src/factory.cpp',
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
option('libnl', type: 'feature', value: 'auto', description: 'Enable libnl support for network related features')
|
||||
option('pulseaudio', type: 'feature', value: 'auto', description: 'Enable support for pulseaudio')
|
Loading…
Reference in New Issue