From 92538a40518fd905ff32e399b41985e42bb0756d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sun, 17 Apr 2011 14:35:26 +0200
Subject: Added explicit dependency for Windows resource file.


diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 5973673..8f99ef4 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -137,7 +137,10 @@ sources = [
 myenv["SWIFT_VERSION"] = Version.getBuildVersion("swift")
 
 if env["PLATFORM"] == "win32" :
-  myenv.RES("../resources/Windows/Swift.rc")
+  res = myenv.RES("../resources/Windows/Swift.rc")
+  # For some reason, SCons isn't picking up the dependency correctly
+	# Adding it explicitly until i figure out why
+  myenv.Depends(res, "../Controllers/BuildVersion.h")
   sources += [
 			"WindowsNotifier.cpp",
 			"../resources/Windows/Swift.res"
-- 
cgit v0.10.2-6-g49f6