mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
meson: avoid unkown variables in the msdk tests
This commit is contained in:
parent
84d3f58c4a
commit
1e887f9b12
1 changed files with 3 additions and 3 deletions
|
@ -30,6 +30,9 @@ else
|
||||||
msdk_sources += ['msdk_libva.c', 'gstmsdkallocator_libva.c']
|
msdk_sources += ['msdk_libva.c', 'gstmsdkallocator_libva.c']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
have_msdk = false
|
||||||
|
msdk_dep = []
|
||||||
|
|
||||||
msdk_option = get_option('msdk')
|
msdk_option = get_option('msdk')
|
||||||
if msdk_option.disabled()
|
if msdk_option.disabled()
|
||||||
subdir_done()
|
subdir_done()
|
||||||
|
@ -41,9 +44,6 @@ if msdk_root == '' and msdk_option.enabled()
|
||||||
error('msdk plugin enabled but Intel Media SDK not found: neither INTELMEDIASDKROOT nor MFX_HOME were set')
|
error('msdk plugin enabled but Intel Media SDK not found: neither INTELMEDIASDKROOT nor MFX_HOME were set')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
have_msdk = false
|
|
||||||
msdk_dep = []
|
|
||||||
|
|
||||||
if msdk_root != ''
|
if msdk_root != ''
|
||||||
msdk_libdir = [msdk_root + '/lib/lin_x64', msdk_root + '/lib/x64', msdk_root + '/lib64']
|
msdk_libdir = [msdk_root + '/lib/lin_x64', msdk_root + '/lib/x64', msdk_root + '/lib64']
|
||||||
msdk_incdir = include_directories(msdk_root + '/include')
|
msdk_incdir = include_directories(msdk_root + '/include')
|
||||||
|
|
Loading…
Reference in a new issue