summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/mac/sdk.prf
blob: 5eab94896b0ffbb601536a312372d35c7cc044d7 (plain)
1
2
3
4
5
6
7
8
!isEmpty(QMAKE_MAC_SDK) {
    !macx-xcode:!macx-pbuilder {
        QMAKE_CFLAGS += -isysroot $$QMAKE_MAC_SDK
        QMAKE_OBJECTIVE_CFLAGS += -isysroot $$QMAKE_MAC_SDK
        QMAKE_CXXFLAGS += -isysroot $$QMAKE_MAC_SDK
        QMAKE_LFLAGS += -Wl,-syslibroot,$$QMAKE_MAC_SDK
    }
}