diff options
| author | Remko Tronçon <git@el-tramo.be> | 2010-11-11 20:46:19 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2010-11-11 20:46:19 (GMT) | 
| commit | 403cbfef86c0ffab43064f49b578b22280ac8a6e (patch) | |
| tree | 76eb88084dcf0dd46c546f05bab68f8647f813e1 | |
| parent | fb14db80de0d2ddad902679f3009721592543249 (diff) | |
| download | swift-403cbfef86c0ffab43064f49b578b22280ac8a6e.zip swift-403cbfef86c0ffab43064f49b578b22280ac8a6e.tar.bz2 | |
Avoid scons error when OpenSSL is not found.
| -rw-r--r-- | Swift/SConscript | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/Swift/SConscript b/Swift/SConscript index ee0140c..a1ee3ae 100644 --- a/Swift/SConscript +++ b/Swift/SConscript @@ -7,7 +7,8 @@ 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." -		env["PROJECTS"].remove("Swift") +		if "Swift" in env["PROJECTS"] : +			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") | 
 Swift
 Swift