[SDL2] fix arm-windows build (#6146)

* fix sdl2 arm-windows build

* bump sdl2 version
This commit is contained in:
driver1998 2019-04-24 04:21:48 +08:00 committed by Griffin Downs
parent 8ad2ae0d34
commit 8da8c0a9f6
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: sdl2
Version: 2.0.9-2
Version: 2.0.9-3
Description: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
Feature: vulkan

View File

@ -37,7 +37,7 @@ index 0128c7a..bd534e4 100644
check_include_file(ddraw.h HAVE_DDRAW_H)
check_include_file(dsound.h HAVE_DSOUND_H)
check_include_file(dinput.h HAVE_DINPUT_H)
+ if(WINDOWS_STORE)
+ if(WINDOWS_STORE OR VCPKG_TARGET_TRIPLET MATCHES "arm-windows")
+ set(HAVE_DINPUT_H 0)
+ endif()
check_include_file(dxgi.h HAVE_DXGI_H)