Ignore:
Timestamp:
Jan 10, 2013, 7:52:30 PM (7 years ago)
Author:
jeremyhu@…
Message:

cmake: Revert r101169 with added comment as to why it's needed

cmake: Revise the previous commit to just not set CMAKE_OSX_SYSROOT or CMAKE_OSX_DEPLOYMENT_TARGET in that case (#37527)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

    r101169 r101420  
    7474        if {${configure.sdkroot} != ""} {
    7575            configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}"
     76        } else {
     77            # Witout this, cmake will choose an SDK and deployment target on its own.
     78            configure.args-append -DCMAKE_OSX_SYSROOT=/ -DCMAKE_OSX_DEPLOYMENT_TARGET=""
    7679        }
    7780    }
Note: See TracChangeset for help on using the changeset viewer.