meson: use va-api version reported by pkg-config
[mesa.git] / meson.build
index b39e2f8ab96eefff59639b50b5d753f3cae2dea2..570c5080ad87e4573f3c14e2075ed3440d154474 100644 (file)
@@ -546,7 +546,7 @@ with_gallium_va = _va == 'true'
 dep_va = []
 if with_gallium_va
   dep_va = dependency('libva', version : '>= 0.38.0')
-  dep_va = declare_dependency(
+  dep_va_headers = declare_dependency(
     compile_args : run_command(prog_pkgconfig, ['libva', '--cflags']).stdout().split()
   )
 endif