meson: kmssink: Allow fallback only on linux

Otherwise fallback will waste meson configure time on non-linux
This commit is contained in:
Seungha Yang 2020-04-09 23:12:25 +09:00 committed by Nicolas Dufresne
parent 663cd44ef0
commit 430848548d

View file

@ -5,6 +5,10 @@ kmssink_sources = [
'gstkmsutils.c',
]
if host_system != 'linux'
subdir_done()
endif
libdrm_dep = dependency('libdrm', version : '>= 2.4.55',
required : get_option('kms'),
fallback: ['libdrm', 'ext_libdrm'])