aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodor Prokopov <koprok@users.noreply.github.com>2019-04-08 20:36:11 +0300
committerPhil Christensen <philc@microsoft.com>2019-04-08 10:36:11 -0700
commitfb47d74d6d6d6f0c0497c8c9b50830b9b47f754c (patch)
tree3940b859536d2598736c3a73d6033ef953376fd9
parent8a4c65dc248f78a8d45803ffd2cfc3e7f7c3c941 (diff)
downloadvcpkg-fb47d74d6d6d6f0c0497c8c9b50830b9b47f754c.tar.gz
vcpkg-fb47d74d6d6d6f0c0497c8c9b50830b9b47f754c.zip
[pixman] Fix build on x86-linux (#5998)
-rw-r--r--ports/pixman/CMakeLists.txt4
-rw-r--r--ports/pixman/CONTROL2
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/pixman/CMakeLists.txt b/ports/pixman/CMakeLists.txt
index c75574865..55adf8b9c 100644
--- a/ports/pixman/CMakeLists.txt
+++ b/ports/pixman/CMakeLists.txt
@@ -56,6 +56,10 @@ target_compile_definitions(pixman-1
USE_SSE2
)
+if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4)
+ target_compile_options(pixman-1 PRIVATE -msse2)
+endif()
+
# pixman produces a lot of warnings which are disabled here because they otherwise fill up the log files
if(MSVC)
target_compile_options(pixman-1 PRIVATE "/wd4244" "/wd4146" "/wd4996") # PUBLIC "/D_CRT_SECURE_NO_WARNINGS"
diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL
index 9f889e9ca..7ea0dc3d7 100644
--- a/ports/pixman/CONTROL
+++ b/ports/pixman/CONTROL
@@ -1,3 +1,3 @@
Source: pixman
-Version: 0.38.0
+Version: 0.38.0-1
Description: Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization.