summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-23 09:03:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-23 09:03:13 (GMT)
commitd072dcd1ee143357c41e53ee94a4b6d13e48e2fc (patch)
tree55fa0cf8227e6d4c5ebcd362bd407569cbbef344 /Swift
parent2263651d015c4c8dd4f9ab08a7a3c7c0efbe6ce7 (diff)
downloadswift-d072dcd1ee143357c41e53ee94a4b6d13e48e2fc.zip
swift-d072dcd1ee143357c41e53ee94a4b6d13e48e2fc.tar.bz2
Avoid Swiften build failing when Qt is missing.
Resolves: #1076
Diffstat (limited to 'Swift')
-rw-r--r--Swift/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/SConscript b/Swift/SConscript
index b66058b..cee3a74 100644
--- a/Swift/SConscript
+++ b/Swift/SConscript
@@ -11,6 +11,7 @@ if env["SCONS_STAGE"] == "build" :
env["PROJECTS"].remove("Swift")
elif not GetOption("help") and not env.get("HAVE_QT", 0) :
print "Error: Swift requires Qt. Not building Swift."
- env["PROJECTS"].remove("Swift")
+ if "Swift" in env["PROJECTS"] :
+ env["PROJECTS"].remove("Swift")
elif env["target"] == "native":
SConscript("QtUI/SConscript")