diff -r 10f675aee907 -r 53f7e964a338 CMakeLists.txt --- a/CMakeLists.txt Tue Jun 28 01:05:33 2011 +0200 +++ b/CMakeLists.txt Wed Jun 29 21:52:07 2011 +0200 @@ -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()