Enable AVB on Linux only.

This commit is contained in:
Gleb Popov 2022-08-11 15:39:25 +03:00
parent 25b2f316f0
commit 4a0395d23e
2 changed files with 2 additions and 2 deletions

View file

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