mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
msdk: meson: Fix build on Windows
subprojects\gst-plugins-bad\sys\msdk\meson.build:160:2: ERROR: Unknown variable "libva_dep". Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1022>
This commit is contained in:
parent
6a756b9f46
commit
baf252b48b
1 changed files with 6 additions and 4 deletions
|
@ -157,11 +157,13 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if msdk_deps_found
|
if msdk_deps_found
|
||||||
|
if host_machine.system() != 'windows'
|
||||||
driverdir = libva_dep.get_variable(pkgconfig: 'driverdir', internal: 'driverdir', default_value: '')
|
driverdir = libva_dep.get_variable(pkgconfig: 'driverdir', internal: 'driverdir', default_value: '')
|
||||||
if driverdir == ''
|
if driverdir == ''
|
||||||
driverdir = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
driverdir = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
||||||
endif
|
endif
|
||||||
cdata.set_quoted('VA_DRIVERS_PATH', '@0@'.format(driverdir))
|
cdata.set_quoted('VA_DRIVERS_PATH', '@0@'.format(driverdir))
|
||||||
|
endif
|
||||||
|
|
||||||
gstmsdktag = library('gstmsdk',
|
gstmsdktag = library('gstmsdk',
|
||||||
msdk_sources,
|
msdk_sources,
|
||||||
|
|
Loading…
Reference in a new issue