summaryrefslogtreecommitdiff
path: root/share/qbs/modules/cpp/macos-gcc.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-05-09 11:01:43 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-05-09 16:38:43 +0000
commite36905911391a508ca01f7e3b69221fdaab5349c (patch)
tree2a3651406bc9f8ec094b59249b994d94395ed56c /share/qbs/modules/cpp/macos-gcc.qbs
parentdc7cdb6158625637a3b4943dfc9a92802d7daa69 (diff)
downloadqbs-e36905911391a508ca01f7e3b69221fdaab5349c.tar.gz
Fix default value of cpp.minimum{Macos,Ios}Version
Usage of libc++ implies a deployment target >= 10.7 and 5.0, respectively. Change-Id: I8c839ad055b2f07cae1523acbca390c824b2a90e Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/macos-gcc.qbs')
-rw-r--r--share/qbs/modules/cpp/macos-gcc.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/macos-gcc.qbs b/share/qbs/modules/cpp/macos-gcc.qbs
index eb5dc3d41..abb2ca811 100644
--- a/share/qbs/modules/cpp/macos-gcc.qbs
+++ b/share/qbs/modules/cpp/macos-gcc.qbs
@@ -37,6 +37,7 @@ DarwinGCC {
targetSystem: "macosx" + (minimumMacosVersion || "")
+ minimumOsxVersion: cxxStandardLibrary === "libc++" ? "10.7" : undefined
minimumDarwinVersion: minimumMacosVersion
minimumDarwinVersionCompilerFlag: "-mmacosx-version-min"
minimumDarwinVersionLinkerFlag: "-macosx_version_min"