Disable alsa plugin on !Linux platforms.

It now includes Linux-specific headers.
This commit is contained in:
Gleb Popov 2023-03-15 17:55:59 +03:00 committed by Wim Taymans
parent 8cd5d720bf
commit 01096bf669

View file

@ -1,4 +1,4 @@
if alsa_dep.found()
if alsa_dep.found() and host_machine.system() == 'linux'
subdir('alsa')
endif
if get_option('avb').require(host_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()