aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaute Lindkvist <lindkvis@gmail.com>2020-10-28 22:23:40 +0100
committerGitHub <noreply@github.com>2020-10-28 14:23:40 -0700
commitce46c257f2c1789f82cdaf12edb5b683f3cc1251 (patch)
tree94d11b43f06f9397d91c6df8fa115a0847f2b902
parent318a8adbd03bebec860a33335f538b557ec94cf9 (diff)
downloadvcpkg-ce46c257f2c1789f82cdaf12edb5b683f3cc1251.tar.gz
vcpkg-ce46c257f2c1789f82cdaf12edb5b683f3cc1251.zip
[pixman] fix build failure on ARM32 due to sse2 (#14179)
-rw-r--r--ports/pixman/CMakeLists.txt2
-rw-r--r--ports/pixman/CONTROL3
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/pixman/CMakeLists.txt b/ports/pixman/CMakeLists.txt
index 48e01ec66..06643c30c 100644
--- a/ports/pixman/CMakeLists.txt
+++ b/ports/pixman/CMakeLists.txt
@@ -63,7 +63,7 @@ add_library(pixman-1 ${SOURCES})
target_include_directories(pixman-1 PUBLIC $<INSTALL_INTERFACE:include>)
target_compile_definitions(pixman-1 ${PIXMAN_DEFS})
-if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4)
+if(USE_SSE2 AND UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4)
target_compile_options(pixman-1 PRIVATE -msse2)
endif()
diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL
index d081eaacf..a9e21f833 100644
--- a/ports/pixman/CONTROL
+++ b/ports/pixman/CONTROL
@@ -1,4 +1,5 @@
Source: pixman
-Version: 0.38.4-1
+Version: 0.38.4
+Port-Version: 2
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.