ENH: do not always add -arch flags

This commit is contained in:
Bill Hoffman
2007-10-19 22:24:00 -04:00
parent 4168c0797b
commit 613c35e033
2 changed files with 24 additions and 6 deletions
+1
View File
@@ -44,6 +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})
ENDIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)