ENH: fix spelling error

This commit is contained in:
Bill Hoffman 2007-10-22 14:01:49 -04:00
parent cc6f53b61f
commit 5765fbbb88
2 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,7 @@ 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}
CACHE INTERNAL "uname -m architecture")
SET(CMAKE_OSX_ARCHITECTURES_DEFAULT ${_CMAKE_OSX_MACHINE})
ENDIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)

View File

@ -1945,7 +1945,7 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags,
if(archs.size() == 1)
{
const char* archOrig =
this->Makefile->GetSafeDefinition("CMAKE_OSX_ARCHITECTURE_DEFAULT");
this->Makefile->GetSafeDefinition("CMAKE_OSX_ARCHITECTURES_DEFAULT");
if(archs[0] == archOrig)
{
addArchFlag = false;