mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 05:55:31 +00:00
Accepted patch https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/disable-hidapi-for-uwp.patch
This commit is contained in:
parent
5610e5ae48
commit
695499ae6c
|
@ -161,7 +161,7 @@ endif()
|
||||||
# so we'll just use libusb when it's available. libusb does not support iOS,
|
# so we'll just use libusb when it's available. libusb does not support iOS,
|
||||||
# so we default to yes on iOS.
|
# so we default to yes on iOS.
|
||||||
# TODO: Windows can support libusb, the hid.c file just depends on Unix APIs
|
# TODO: Windows can support libusb, the hid.c file just depends on Unix APIs
|
||||||
if(WINDOWS OR IOS OR TVOS OR ANDROID)
|
if((WINDOWS AND NOT WINDOWS_STORE) OR IOS OR TVOS OR ANDROID)
|
||||||
set(HIDAPI_SKIP_LIBUSB TRUE)
|
set(HIDAPI_SKIP_LIBUSB TRUE)
|
||||||
else()
|
else()
|
||||||
set(HIDAPI_SKIP_LIBUSB FALSE)
|
set(HIDAPI_SKIP_LIBUSB FALSE)
|
||||||
|
|
Loading…
Reference in a new issue