summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-09-08 14:15:31 (GMT)
committerTobias Markmann <tm@ayena.de>2012-09-09 10:35:57 (GMT)
commit9d55b647520acc73742695517615f96165ecc8f5 (patch)
treebeac966766e6835ade79881f2c13deb7fec1fb53 /BuildTools/SCons/SConstruct
parent60b1599f5f3d11db2842ecb0bc05208225167b01 (diff)
downloadswift-contrib-9d55b647520acc73742695517615f96165ecc8f5.zip
swift-contrib-9d55b647520acc73742695517615f96165ecc8f5.tar.bz2
Initial version of ML's NotificationCenter support.tobias/notification-center
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct5
1 files changed, 5 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 3be4bd7..8a7e9ab 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -230,6 +230,11 @@ if env["PLATFORM"] == "darwin" :
env["SPARKLE_FRAMEWORK"] = "/Library/Frameworks/Sparkle.framework"
conf.Finish()
+# Notification Center
+env["HAVE_NOTIFICATION_CENTER"] = 0
+if env["PLATFORM"] == "darwin" :
+ env["HAVE_NOTIFICATION_CENTER"] = bool(env["notification_center"])
+
# Growl
env["HAVE_GROWL"] = 0
if env["PLATFORM"] == "darwin" :