[pixman] Fix build on x86-linux (#5998)

This commit is contained in:
Todor Prokopov 2019-04-08 20:36:11 +03:00 committed by Phil Christensen
parent 8a4c65dc24
commit fb47d74d6d
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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.