Use SSE2 in windows build for faster libsquish
This commit is contained in:
parent
e5fff9e65a
commit
b1f1afb9c5
@ -474,8 +474,8 @@
|
||||
kColourRangeFit = (64),
|
||||
Use a very slow but very high quality colour compressor.
|
||||
kColourIterativeClusterFit = (256),
|
||||
STK default the low quality.
|
||||
STK default the high quality.
|
||||
-->
|
||||
<texture-compression quality="64"/>
|
||||
<texture-compression quality="32"/>
|
||||
|
||||
</config>
|
||||
|
@ -32,6 +32,9 @@ ENDIF()
|
||||
IF (CMAKE_GENERATOR STREQUAL "Xcode")
|
||||
SET(CMAKE_OSX_ARCHITECTURES "i386;ppc")
|
||||
ELSE (CMAKE_GENERATOR STREQUAL "Xcode")
|
||||
IF (BUILD_SQUISH_WITH_SSE2 AND WIN32)
|
||||
ADD_DEFINITIONS(-DSQUISH_USE_SSE=2)
|
||||
ENDIF (BUILD_SQUISH_WITH_SSE2 AND WIN32)
|
||||
IF (BUILD_SQUISH_WITH_SSE2 AND NOT WIN32)
|
||||
ADD_DEFINITIONS(-DSQUISH_USE_SSE=2 -msse2)
|
||||
ENDIF (BUILD_SQUISH_WITH_SSE2 AND NOT WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user