forked from qt-creator/qt-creator
qbs build: Set minimum macOS deployment target unconditionally
The previous construct left the value undefined for Qt < 5.7. Task-number: QTCREATORBUG-19602 Change-Id: I6e6e5b0d3fb4ec76593c50bb13bad49f83b50dcc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
@@ -21,10 +21,10 @@ Product {
|
||||
Depends { name: "qtc" }
|
||||
Depends { name: product.name + " dev headers"; required: false }
|
||||
|
||||
Properties {
|
||||
condition: Utilities.versionCompare(Qt.core.version, "5.7") < 0
|
||||
// TODO: Should fall back to what came from Qt.core for Qt < 5.7, but we cannot express that
|
||||
// atm. Conditionally pulling in a module that sets the property is also not possible,
|
||||
// because conflicting scalar values would be reported (QBS-1225 would fix that).
|
||||
cpp.minimumMacosVersion: project.minimumMacosVersion
|
||||
}
|
||||
|
||||
Properties {
|
||||
condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("clang")
|
||||
|
Reference in New Issue
Block a user