summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-04-21 14:45:37 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-04-21 14:45:37 (GMT)
commit5eff3391c316d5ab325b78024296e74127c6747c (patch)
treea86008521ec5d1b5704c76aae72545344536ad2b /Swift/QtUI
parentf5946a1273b363f46ae0753eccdf6bd96a72e997 (diff)
downloadswift-5eff3391c316d5ab325b78024296e74127c6747c.zip
swift-5eff3391c316d5ab325b78024296e74127c6747c.tar.bz2
Fix compilation when 3rdParty/ is not there.
Change-Id: I6d86bf7d8dcc750ff69ff08500c9987b3c1de43e
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 53db2df..d71375d 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -36,7 +36,8 @@ if myenv["HAVE_SPARKLE"] :
myenv.UseFlags(env["SPARKLE_FLAGS"])
myenv.UseFlags(env["SWIFTEN_FLAGS"])
myenv.UseFlags(env["SWIFTEN_DEP_FLAGS"])
-myenv.UseFlags(env["BREAKPAD_FLAGS"])
+if myenv.get("HAVE_BREAKPAD") :
+ myenv.UseFlags(env["BREAKPAD_FLAGS"])
if myenv.get("HAVE_GROWL", False) :
myenv.UseFlags(myenv["GROWL_FLAGS"])
myenv.Append(CPPDEFINES = ["HAVE_GROWL"])