CMakeLists.txt
changeset 4845 9a0f5377c529
parent 4829 1d555e738a3a
parent 4756 9f20a38a385a
child 4903 21dd1def5aaf
--- a/CMakeLists.txt	Sun Jan 16 13:53:32 2011 -0500
+++ b/CMakeLists.txt	Mon Jan 17 23:22:52 2011 +0100
@@ -77,7 +77,6 @@
 
 	set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
 
-
 	#create universal binaries only when it's time to bundle the application, also build server
 	IF(BUNDLE)
 		set(WITH_SERVER true)
@@ -86,7 +85,11 @@
 			set(CMAKE_CXX_COMPILER "g++-4.0")
 		else()
 			if(current_macosx_version MATCHES "10.6")
-				set(CMAKE_OSX_ARCHITECTURES "x86_64")
+				if(MACAPPSTORE)
+					set(CMAKE_OSX_ARCHITECTURES "x86_64;i386")
+				else()
+					set(CMAKE_OSX_ARCHITECTURES "x86_64")
+				endif()
 			endif()
 		endif()
 	ELSE()