slackbuilds/libraries/squish/squish.patch

15 lines
602 B
Diff

--- libsquish/trunk/CMakeLists.txt.orig 2016-03-04 07:30:58.222987880 +0700
+++ libsquish/trunk/CMakeLists.txt 2016-03-04 07:31:11.671259957 +0700
@@ -21,9 +21,9 @@
IF (CMAKE_GENERATOR STREQUAL "Xcode")
SET(CMAKE_OSX_ARCHITECTURES "i386;ppc")
ELSE (CMAKE_GENERATOR STREQUAL "Xcode")
- IF ( AND NOT WIN32)
+ IF ( NOT WIN32)
ADD_DEFINITIONS(-DSQUISH_USE_SSE=2 -msse2)
- ENDIF ( AND NOT WIN32)
+ ENDIF ( NOT WIN32)
IF (BUILD_SQUISH_WITH_ALTIVEC AND NOT WIN32)
ADD_DEFINITIONS(-DSQUISH_USE_ALTIVEC=1 -maltivec)
ENDIF (BUILD_SQUISH_WITH_ALTIVEC AND NOT WIN32)