CMakeLists.txt
changeset 2644 52b7c4776af9
parent 2641 b08cafb86797
child 2652 67d0344aea9f
--- a/CMakeLists.txt	Thu Nov 26 18:43:33 2009 +0000
+++ b/CMakeLists.txt	Sat Nov 28 02:46:15 2009 +0000
@@ -44,10 +44,16 @@
 	IF(BUNDLE)
 		if(current_macosx_version MATCHES "10.6")
 			set(CMAKE_OSX_ARCHITECTURES "x86_64;i386;ppc7400")
-			set(build_64_universal TRUE)		
+			set(build_x86_64 TRUE)		
+			set(build_i386 TRUE)		
+			set(build_ppc TRUE)		
 		else()
 			set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
+			set(build_i386 TRUE)		
+			set(build_ppc TRUE)	
 		endif()
+	ELSE()
+		set(build_i386 TRUE)
 	ENDIF()	
 
 	message(STATUS "Target system: Mac OS X ${minimum_macosx} for ${CMAKE_OSX_ARCHITECTURES}")