mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
meson: wic: Fix typo
Should check WIC build option, not MediaFoundation Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1847>
This commit is contained in:
parent
f42f65a993
commit
8e0ce6b125
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ extra_args = []
|
|||
wic_deps = []
|
||||
|
||||
wic_option = get_option('wic')
|
||||
if host_system != 'windows' or mf_option.disabled()
|
||||
if host_system != 'windows' or wic_option.disabled()
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
|
@ -22,7 +22,7 @@ if cc.get_id() != 'msvc'
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
windowscodecs_lib = cc.find_library('windowscodecs', required : mf_option)
|
||||
windowscodecs_lib = cc.find_library('windowscodecs', required : wic_option)
|
||||
have_wic = windowscodecs_lib.found() and cc.has_header('wincodec.h') and cc.has_header('wincodecsdk.h')
|
||||
if not have_wic
|
||||
if wic_option.enabled()
|
||||
|
|
Loading…
Reference in a new issue