summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/SConscript')
-rw-r--r--Swift/SConscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/Swift/SConscript b/Swift/SConscript
index 0064eee..ee0140c 100644
--- a/Swift/SConscript
+++ b/Swift/SConscript
@@ -7,7 +7,9 @@ SConscript("Controllers/SConscript")
if env["SCONS_STAGE"] == "build" :
if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) :
print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
- Exit(1)
-
- if env["target"] == "native":
+ 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")
+ elif env["target"] == "native":
SConscript("QtUI/SConscript")