From 397d7ff29d0add12feeb08f7e25271128012b996 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 22 Oct 2007 10:17:31 -0400 Subject: ENH: try to fix boostrap on 10.5 --- Modules/Platform/Darwin.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 348abfc..c6d6dda 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -44,7 +44,8 @@ IF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) # now put _CMAKE_OSX_MACHINE into the cache SET(CMAKE_OSX_ARCHITECTURES ${_CMAKE_OSX_MACHINE} CACHE STRING "Build architectures for OSX") - SET(CMAKE_OSX_ARCHITECTURES_DEFAULT ${_CMAKE_OSX_MACHINE}) + SET(CMAKE_OSX_ARCHITECTURES_DEFAULT ${_CMAKE_OSX_MACHINE} + CACHE INTERNAL "uname -m architecture") ENDIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) -- cgit v0.12