mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +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
|
||||||
driverdir = libva_dep.get_variable(pkgconfig: 'driverdir', internal: 'driverdir', default_value: '')
|
if host_machine.system() != 'windows'
|
||||||
if driverdir == ''
|
driverdir = libva_dep.get_variable(pkgconfig: 'driverdir', internal: 'driverdir', default_value: '')
|
||||||
driverdir = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
if driverdir == ''
|
||||||
|
driverdir = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
||||||
|
endif
|
||||||
|
cdata.set_quoted('VA_DRIVERS_PATH', '@0@'.format(driverdir))
|
||||||
endif
|
endif
|
||||||
cdata.set_quoted('VA_DRIVERS_PATH', '@0@'.format(driverdir))
|
|
||||||
|
|
||||||
gstmsdktag = library('gstmsdk',
|
gstmsdktag = library('gstmsdk',
|
||||||
msdk_sources,
|
msdk_sources,
|
||||||
|
|
Loading…
Reference in a new issue