diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-04-15 15:40:52 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-04-18 17:21:44 +0000 |
commit | d2ce9294ef0fa8135a2a0d9e58296e735cd01ec8 (patch) | |
tree | 6a781e6d7fb9f87ea06f819ca1bf5fcbe5a0da34 /share/qbs/modules/cpp/DarwinGCC.qbs | |
parent | 9b97df88e3da322194d7ca1536b4c6d44f625927 (diff) | |
download | qbs-d2ce9294ef0fa8135a2a0d9e58296e735cd01ec8.tar.gz |
Make xcode a required dependency of cpp if we're using that toolchain.
Invalid xcode properties should not let the dependency slide if we've
explicitly requested it by specifying xcode in the toolchain list.
Change-Id: Ib9694b24672164439f85804eca630a23d5ee11d4
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/cpp/DarwinGCC.qbs')
-rw-r--r-- | share/qbs/modules/cpp/DarwinGCC.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs index a147de935..053fa16c3 100644 --- a/share/qbs/modules/cpp/DarwinGCC.qbs +++ b/share/qbs/modules/cpp/DarwinGCC.qbs @@ -36,7 +36,7 @@ import qbs.ModUtils UnixGCC { condition: false - Depends { name: "xcode"; required: false } + Depends { name: "xcode"; required: qbs.toolchain && qbs.toolchain.contains("xcode") } targetVendor: "apple" targetSystem: "darwin" |