Skip to content

Commit

Permalink
Fix the path to the OS X 10.6 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
dpage committed Jun 12, 2012
1 parent 3e8eea4 commit c92a8fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ SET(CMAKE_FIND_LIBRARY_SUFFIXES ".lib")
IF(APPLE)
# Setup default values
IF(NOT HAVE_CACHED_VALUES)
IF(EXISTS /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk)
IF(EXISTS /Developer/SDKs/MacOSX10.6.sdk)
SET(CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "Build architectures for OSX" FORCE)
SET(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk" CACHE FILEPATH "isysroot used for universal binary support" FORCE)
SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.6.sdk" CACHE FILEPATH "isysroot used for universal binary support" FORCE)
ELSE()
IF(EXISTS /Developer/SDKs/MacOSX10.5.sdk)
SET(CMAKE_OSX_ARCHITECTURES "ppc;i386" CACHE STRING "Build architectures for OSX" FORCE)
Expand All @@ -33,7 +33,7 @@ IF(APPLE)
MESSAGE(FATAL_ERROR "No supported SDK could be found!")
ENDIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)
ENDIF(EXISTS /Developer/SDKs/MacOSX10.5.sdk)
ENDIF(EXISTS /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk)
ENDIF(EXISTS /Developer/SDKs/MacOSX10.6.sdk)
ENDIF(NOT HAVE_CACHED_VALUES)

# Target Tiger
Expand Down

0 comments on commit c92a8fd

Please sign in to comment.