mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ kmssink_sources = [
|
||||||
'gstkmsutils.c',
|
'gstkmsutils.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if host_system != 'linux'
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
libdrm_dep = dependency('libdrm', version : '>= 2.4.55',
|
libdrm_dep = dependency('libdrm', version : '>= 2.4.55',
|
||||||
required : get_option('kms'),
|
required : get_option('kms'),
|
||||||
fallback: ['libdrm', 'ext_libdrm'])
|
fallback: ['libdrm', 'ext_libdrm'])
|
||||||
|
|
Loading…
Reference in a new issue