mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
msdk: enable 32 bit build on windows
This commit is contained in:
parent
060e72e370
commit
6c7a07bc2a
1 changed files with 7 additions and 0 deletions
|
@ -49,6 +49,13 @@ else
|
|||
|
||||
if mfx_root != ''
|
||||
mfx_libdir = [mfx_root + '/lib/lin_x64', mfx_root + '/lib/x64', mfx_root + '/lib64', mfx_root + '/lib']
|
||||
if host_machine.system() == 'windows'
|
||||
if host_machine.cpu_family() == 'x86'
|
||||
mfx_libdir = [mfx_root + '/lib/win32']
|
||||
else
|
||||
mfx_libdir = [mfx_root + '/lib/x64']
|
||||
endif
|
||||
endif
|
||||
mfx_incdir = join_paths([mfx_root, 'include'])
|
||||
mfx_lib = cxx.find_library('mfx', dirs: mfx_libdir, required: msdk_option)
|
||||
mfx_inc = include_directories(mfx_incdir)
|
||||
|
|
Loading…
Reference in a new issue