Make the iOS build only compile for the armv7 architecture

This commit is contained in:
jtraynham committed 2013-06-17 14:06:00 -05:00
1 parent d6cc2c0f4e
commit e00c345b1d
1 file changed
+1
+1
View File
@@ -156,6 +156,7 @@ if(NOT MSVC)
if(IOS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
set(CMAKE_OSX_ARCHITECTURES "armv7")
elseif(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -U__STRICT_ANSI__")
# Karen/angelXwind: --macosx-version-min=10.7 is needed in order to produce binaries that OS X 10.7 Lion can execute. However, it seems that PPSSPP won't support 10.6 or lower without getting rid of -stdlib=libc++ ...which probably won't end well. So I guess PPSSPP will strictly be a 10.7+ app.