diff options
| author | driver1998 <driver1998.ms@outlook.com> | 2019-04-24 04:21:48 +0800 |
|---|---|---|
| committer | Griffin Downs <35574547+grdowns@users.noreply.github.com> | 2019-04-23 13:21:48 -0700 |
| commit | 8da8c0a9f639abd9bba4ab9c8754fdb477fc6e34 (patch) | |
| tree | c9425252dd33290d6d08414f6e4223f78d1515df | |
| parent | 8ad2ae0d34ad4858dc094344b3683220d4d33635 (diff) | |
| download | vcpkg-8da8c0a9f639abd9bba4ab9c8754fdb477fc6e34.tar.gz vcpkg-8da8c0a9f639abd9bba4ab9c8754fdb477fc6e34.zip | |
[SDL2] fix arm-windows build (#6146)
* fix sdl2 arm-windows build
* bump sdl2 version
| -rw-r--r-- | ports/sdl2/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sdl2/enable-winrt-cmake.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/sdl2/CONTROL b/ports/sdl2/CONTROL index 1bd6ec930..b03d96e81 100644 --- a/ports/sdl2/CONTROL +++ b/ports/sdl2/CONTROL @@ -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 diff --git a/ports/sdl2/enable-winrt-cmake.patch b/ports/sdl2/enable-winrt-cmake.patch index 858c7d460..1d1356fba 100644 --- a/ports/sdl2/enable-winrt-cmake.patch +++ b/ports/sdl2/enable-winrt-cmake.patch @@ -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)
|
