Skip to content
Snippets Groups Projects
Commit ad3fb007 authored by Seungha Yang's avatar Seungha Yang :sheep:
Browse files

meson: va: Skip configuration on non-linux environment

VA plugin is linux-only plugin, so we can skip it earlier.
Note that this plugin is making use of libdrm meson fallback,
which is unusable on the other platforms such as Windows

Part-of: <!1946>
parent 3e2e07bb
No related branches found
No related tags found
1 merge request!1946meson: va: Skip configuration on non-linux environment
......@@ -21,8 +21,9 @@ va_sources = [
'gstvavpp.c'
]
have_va = false
va_option = get_option('va')
if va_option.disabled()
if va_option.disabled() or host_system != 'linux'
subdir_done()
endif
......
if not have_va
subdir_done()
endif
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
gtk_x11_dep = dependency('gtk+-x11-3.0', required : get_option('examples'))
x11_dep = dependency('x11', required : get_option('examples'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment