comparison Resources/CMake/PixmanConfiguration.cmake @ 26:99b833843ba9

fix MSVC 64bit builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Nov 2016 17:07:15 +0100
parents 490347621f42
children 22ab2d8566fa
comparison
equal deleted inserted replaced
24:902e6c52e154 26:99b833843ba9
100 100
101 list(APPEND PIXMAN_SOURCES 101 list(APPEND PIXMAN_SOURCES
102 ${PIXMAN_SOURCES_DIR}/pixman/pixman-sse2.c 102 ${PIXMAN_SOURCES_DIR}/pixman/pixman-sse2.c
103 ${PIXMAN_SOURCES_DIR}/pixman/pixman-ssse3.c 103 ${PIXMAN_SOURCES_DIR}/pixman/pixman-ssse3.c
104 ) 104 )
105
106 if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "4")
107 # Only enable MMX on Windows 32
108 add_definitions(
109 -DUSE_X86_MMX=1
110 )
111 endif()
112
105 add_definitions( 113 add_definitions(
106 -DUSE_X86_MMX=1
107 -DUSE_SSE2=1 114 -DUSE_SSE2=1
108 -DUSE_SSSE3=1 115 -DUSE_SSSE3=1
109 ) 116 )
110 117
111 118