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