mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
meson: Fix gst-launch build on UWP
The APIs we need from WinMM for higher timer resolution are only available for non-UWP apps. The winmm library itself is still available, so we need to disable the check. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/890>
This commit is contained in:
parent
be607d7cca
commit
f0c3eefefc
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ extra_launch_dep = []
|
||||||
extra_launch_arg = []
|
extra_launch_arg = []
|
||||||
|
|
||||||
if gst_parse
|
if gst_parse
|
||||||
if host_system == 'windows'
|
if host_system == 'windows' and not building_for_uwp
|
||||||
winmm_lib = cc.find_library('winmm', required: false)
|
winmm_lib = cc.find_library('winmm', required: false)
|
||||||
if winmm_lib.found() and cc.has_header('timeapi.h')
|
if winmm_lib.found() and cc.has_header('timeapi.h')
|
||||||
extra_launch_dep += [winmm_lib]
|
extra_launch_dep += [winmm_lib]
|
||||||
|
|
Loading…
Reference in a new issue