Turn on x86_64 building by default in CMake scripts for OSX
authorNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 16 May 2010 14:59:11 -0500
changeset 274 b10562c14db0
parent 273 35d2fe7b3e0c
child 275 97b303e79826
Turn on x86_64 building by default in CMake scripts for OSX
CMakeLists.txt
--- a/CMakeLists.txt	Sun May 16 14:54:48 2010 +0400
+++ b/CMakeLists.txt	Sun May 16 14:59:11 2010 -0500
@@ -31,7 +31,7 @@
 endif(MINGW)
 
 if(APPLE)
-	set(CMAKE_OSX_ARCHITECTURES "i386;ppc" CACHE STRING "Build architectures for OSX")
+	set(CMAKE_OSX_ARCHITECTURES "i386;x86_64;ppc" CACHE STRING "Build architectures for OSX")
 	set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING 
 		"Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value")
 	set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" CACHE PATH