aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.