# pixman requires the three PACKAGE* definitions in order to compile. The USE_SSE2 definition lets it use SSE2 instructions for speed. Every target machine should have SSE2 these days.
target_compile_definitions(pixman-1
PUBLIC
PACKAGE="pixman-1"
PACKAGE_VERSION="0.34.0"
PACKAGE_BUGREPORT=""
PRIVATE
USE_SSE2
)
# pixman produces a lot of warnings which are disabled here because they otherwise fill up the log files
if(MSVC)
target_compile_options(pixman-1PRIVATE"/wd4244""/wd4146""/wd4996")# PUBLIC "/D_CRT_SECURE_NO_WARNINGS"