Ticket #45852: patch-CMakeLists-Leopard.txt.diff

File patch-CMakeLists-Leopard.txt.diff, 629 bytes (added by khepler, 10 years ago)

Sets minimum build target to 10.5 on Leopard/PPC

  • CMakeLists.txt

    old new  
    3737IF(MACOSX)
    3838    # Fallback to older OS X on PowerPC to support wider range of systems...
    3939    IF(CMAKE_OSX_ARCHITECTURES MATCHES ppc)
    40         ADD_DEFINITIONS(-DMAC_OS_X_VERSION_MIN_REQUIRED=1020)
    41         SET(OTHER_LDFLAGS ${OTHER_LDFLAGS} " -mmacosx-version-min=10.2")
     40        ADD_DEFINITIONS(-DMAC_OS_X_VERSION_MIN_REQUIRED=1050)
     41        SET(OTHER_LDFLAGS ${OTHER_LDFLAGS} " -mmacosx-version-min=10.5")
    4242    ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES ppc)
    4343
    4444    # Need these everywhere...