diff options
Diffstat (limited to 'Swift/SConscript')
-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") |