ENH: fix spelling error
This commit is contained in:
parent
cc6f53b61f
commit
5765fbbb88
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue