From f9af8d36541245253da566d9cd346210d3a97e29 Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 5 Jul 2019 16:39:06 +0800 Subject: [PATCH] Use x86_64 only for libsquish in xcode --- lib/libsquish/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libsquish/CMakeLists.txt b/lib/libsquish/CMakeLists.txt index 35403a42d..3da965b71 100644 --- a/lib/libsquish/CMakeLists.txt +++ b/lib/libsquish/CMakeLists.txt @@ -5,7 +5,6 @@ # features: # uses -fopenmp when available # use BUILD_SQUISH_WITH_OPENMP to override -# Xcode: builds universal binaries, uses SSE2 on i386 and Altivec on ppc # Unix and VS: SSE2 support is enabled by default # use BUILD_SQUISH_WITH_SSE2 and BUILD_SQUISH_WITH_ALTIVEC to override @@ -40,8 +39,7 @@ IF (BUILD_SQUISH_WITH_OPENMP) ENDIF() IF (CMAKE_GENERATOR STREQUAL "Xcode") - SET(CMAKE_OSX_ARCHITECTURES "i386;ppc") -ELSE (CMAKE_GENERATOR STREQUAL "Xcode") + SET(CMAKE_OSX_ARCHITECTURES "x86_64") IF (BUILD_SQUISH_WITH_SSE2 AND WIN32) ADD_DEFINITIONS(-DSQUISH_USE_SSE=2) ENDIF (BUILD_SQUISH_WITH_SSE2 AND WIN32)