Ticket #43736: patch-CMakeLists.txt.diff

File patch-CMakeLists.txt.diff, 639 bytes (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • CMakeLists.txt

    old new  
    3030# 64 bits Intel binary with 10.6 compatibility
    3131if(APPLE)
    3232        set(CMAKE_OSX_ARCHITECTURES "${ARCHS_STANDARD_64_BIT}")
    33         set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk")
    34         set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
    3533        set(CMAKE_PREFIX_PATH "${CMAKE_OSX_SYSROOT}/usr") 
    3634        set(CMAKE_FRAMEWORK_PATH "${CMAKE_OSX_SYSROOT}/Library/Frameworks:${CMAKE_OSX_SYSROOT}/System/")
    3735        set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/pack/MacOS/")