Permalink
Browse files

Fix SDK path for Xcode 4.3

  • Loading branch information...
Akeru committed May 30, 2012
1 parent 20f35dc commit 1aa451dcde2e3c7a26d608978448415513b2e2df
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -30,7 +30,7 @@ endif(UNIX AND NOT APPLE AND NOT DATA_DIR)
# 64 bits Intel binary with 10.6 compatibility
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "${ARCHS_STANDARD_64_BIT}")
- set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.6.sdk")
+ set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
set(CMAKE_PREFIX_PATH "${CMAKE_OSX_SYSROOT}/usr")
set(CMAKE_FRAMEWORK_PATH "${CMAKE_OSX_SYSROOT}/Library/Frameworks:${CMAKE_OSX_SYSROOT}/System/")

0 comments on commit 1aa451d

Please sign in to comment.