meson: kmssink: Allow fallback only on linux
Otherwise fallback will waste meson configure time on non-linux
This commit is contained in:
parent
663cd44ef0
commit
430848548d
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user