Fixed mingw compilation

This commit is contained in:
Deve 2018-01-29 22:14:43 +01:00
parent 3345fa6e51
commit 853084e75a

View File

@ -43,6 +43,11 @@ ELSE (CMAKE_GENERATOR STREQUAL "Xcode")
ENDIF (BUILD_SQUISH_WITH_ALTIVEC AND NOT WIN32)
ENDIF (CMAKE_GENERATOR STREQUAL "Xcode")
# A fix for MinGW compilation
IF (BUILD_SQUISH_WITH_SSE2 AND MINGW)
ADD_DEFINITIONS(-msse2)
ENDIF ()
SET(SQUISH_HDRS
squish.h
)