summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-01-18 10:03:24 -0800
committerDylan Baker <[email protected]>2018-02-15 10:35:47 -0800
commit424e654cb02182c00d1b76c512a8fe17af281e4b (patch)
treee78a163437731e7de3ac6fdc683a6b076114a1f1 /src/gallium/state_trackers
parent8eb608df61912cfd0633fe982b140e22e7563770 (diff)
meson: use va-api version reported by pkg-config
Fixes: 5a785d51a6d6 ("meson: build gallium va state tracker") Signed-off-by: Dylan Baker <[email protected]> Acked-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/va/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/va/meson.build b/src/gallium/state_trackers/va/meson.build
index bddd5ef6a67..deb1127483e 100644
--- a/src/gallium/state_trackers/va/meson.build
+++ b/src/gallium/state_trackers/va/meson.build
@@ -1,4 +1,4 @@
-# Copyright © 2017 Intel Corporation
+# Copyright © 2017-2018 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-libva_version = ['2', '3', '0']
+libva_version = dep_va.version().split('.')
libva_st = static_library(
'va_st',
@@ -35,5 +35,5 @@ libva_st = static_library(
),
],
include_directories : [inc_common],
- dependencies : [dep_va, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3],
+ dependencies : [dep_va_headers, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3],
)