From d2ce9294ef0fa8135a2a0d9e58296e735cd01ec8 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 15 Apr 2016 15:40:52 -0700 Subject: 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 --- share/qbs/modules/cpp/DarwinGCC.qbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/qbs/modules/cpp/DarwinGCC.qbs') 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" -- cgit v1.2.1