meson: bluez: Early terminate configure on Windows

This plugin is for linux bluetooth stack. So the early termination can save
configure time on Windows (i.e., we can avoid glib subproject fallback)
This commit is contained in:
Seungha Yang 2019-05-20 23:19:19 +09:00
parent 3811d13269
commit a93bf98245

View file

@ -7,6 +7,10 @@ bluez_sources = [
'gstavrcputil.c', 'gstavrcputil.c',
] ]
if host_system == 'windows'
subdir_done()
endif
bluez_dep = dependency('bluez', version : '>= 5.0', required : get_option('bluez')) bluez_dep = dependency('bluez', version : '>= 5.0', required : get_option('bluez'))
gio_unix_dep = dependency('gio-unix-2.0', version : glib_req, gio_unix_dep = dependency('gio-unix-2.0', version : glib_req,
fallback: ['glib', 'libgiounix_dep'], fallback: ['glib', 'libgiounix_dep'],