summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-10-22 14:17:31 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-10-22 14:17:31 (GMT)
commit397d7ff29d0add12feeb08f7e25271128012b996 (patch)
tree20dd3cea9196dc1e28d3e1fe8aafbb9f7a196e78
parent98a48314c72672bfeccf971d6ff26c584f5e4981 (diff)
downloadCMake-397d7ff29d0add12feeb08f7e25271128012b996.zip
CMake-397d7ff29d0add12feeb08f7e25271128012b996.tar.gz
CMake-397d7ff29d0add12feeb08f7e25271128012b996.tar.bz2
ENH: try to fix boostrap on 10.5
-rw-r--r--Modules/Platform/Darwin.cmake3
1 files changed, 2 insertions, 1 deletions
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)