diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-23 09:03:13 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-23 09:03:13 (GMT) |
commit | d072dcd1ee143357c41e53ee94a4b6d13e48e2fc (patch) | |
tree | 55fa0cf8227e6d4c5ebcd362bd407569cbbef344 | |
parent | 2263651d015c4c8dd4f9ab08a7a3c7c0efbe6ce7 (diff) | |
download | swift-contrib-d072dcd1ee143357c41e53ee94a4b6d13e48e2fc.zip swift-contrib-d072dcd1ee143357c41e53ee94a4b6d13e48e2fc.tar.bz2 |
Avoid Swiften build failing when Qt is missing.
Resolves: #1076
-rw-r--r-- | Swift/SConscript | 3 |
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") |