Commits

David Rogers committed 7438d79

Add new search path for iOS SDK thanks to Xcode 4.3

Comments (0)

Files changed (1)

CMake/Packages/FindiOSSDK.cmake

 # construct search paths
 set(iOSSDK_PREFIX_PATH ${iOSSDK_HOME} $ENV{iOSSDK_HOME}
   ${OGRE_HOME} $ENV{OGRE_HOME})
-create_search_paths(/Developer/Platforms)
+create_search_paths(/Developer/Platforms /Applications/Xcode.app/Contents/Developer/Platforms)
 # redo search if prefix path changed
 clear_if_changed(iOSSDK_PREFIX_PATH
   iOSSDK_LIBRARY_FWK
 
 #findpkg_framework(UIKit)
 
-find_path(iOSSDK_INCLUDE_DIR iPhoneOS.platform /Developer/Platforms)
+find_path(iOSSDK_INCLUDE_DIR iPhoneOS.platform /Developer/Platforms /Applications/Xcode.app/Contents/Developer/Platforms)
 
 if (iOSSDK_INCLUDE_DIR)
   unset(iOSSDK_INCLUDE_DIR)