CMakeLists.txt
branch0.9.15
changeset 4756 9f20a38a385a
parent 4721 5e50d8162a96
child 4845 9a0f5377c529
--- a/CMakeLists.txt	Sat Jan 15 21:59:22 2011 +0100
+++ b/CMakeLists.txt	Mon Jan 17 08:37:43 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()