mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
meson: va: Add va option check into plugin's build.
Because the liblibgstva is built unconditionally, we now move the va option check into va plugin's build. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1685>
This commit is contained in:
parent
58d594df44
commit
fa4dc3470f
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,12 @@ va_sources = [
|
|||
'vasurfaceimage.c',
|
||||
]
|
||||
|
||||
if not gstva_dep.found()
|
||||
if host_system != 'linux'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
va_option = get_option('va').require(gstva_dep.found(), error_message: 'va plugin requires libgstva.')
|
||||
if va_option.disabled()
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue