From 6a37e1a9af9cd43babcfdafc66f469c4626dc73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Fri, 25 Oct 2019 23:38:23 +0200 Subject: [PATCH] [pixman] Improve Arm detection (#8736) --- ports/pixman/CMakeLists.txt | 2 +- ports/pixman/CONTROL | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/pixman/CMakeLists.txt b/ports/pixman/CMakeLists.txt index 1b8c311c1..48e01ec66 100644 --- a/ports/pixman/CMakeLists.txt +++ b/ports/pixman/CMakeLists.txt @@ -50,7 +50,7 @@ set(PIXMAN_DEFS PACKAGE_BUGREPORT="" ) -if(VCPKG_TARGET_TRIPLET STREQUAL arm64-windows OR VCPKG_TARGET_TRIPLET STREQUAL arm-windows) +if(VCPKG_TARGET_ARCHITECTURE STREQUAL arm64 OR VCPKG_TARGET_ARCHITECTURE STREQUAL arm) # don't enable SSE2 for arm64-windows and arm-windows else() # The USE_SSE2 definition lets it use SSE2 instructions for speed. Every x86/64 target machine should have SSE2 these days. diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL index 129ba37fe..9fca34201 100644 --- a/ports/pixman/CONTROL +++ b/ports/pixman/CONTROL @@ -1,4 +1,4 @@ Source: pixman -Version: 0.38.0-3 +Version: 0.38.0-4 Homepage: https://www.cairographics.org/releases Description: Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization.