meson: avoid unkown variables in the msdk tests
This commit is contained in:
parent
84d3f58c4a
commit
1e887f9b12
@ -30,6 +30,9 @@ else
|
||||
msdk_sources += ['msdk_libva.c', 'gstmsdkallocator_libva.c']
|
||||
endif
|
||||
|
||||
have_msdk = false
|
||||
msdk_dep = []
|
||||
|
||||
msdk_option = get_option('msdk')
|
||||
if msdk_option.disabled()
|
||||
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')
|
||||
endif
|
||||
|
||||
have_msdk = false
|
||||
msdk_dep = []
|
||||
|
||||
if msdk_root != ''
|
||||
msdk_libdir = [msdk_root + '/lib/lin_x64', msdk_root + '/lib/x64', msdk_root + '/lib64']
|
||||
msdk_incdir = include_directories(msdk_root + '/include')
|
||||
|
Loading…
x
Reference in New Issue
Block a user