From 18354f263bfe70390fd74193e99377a994c2ea0a Mon Sep 17 00:00:00 2001
From: Bill Hoffman <bill.hoffman@kitware.com>
Date: Mon, 6 Mar 2006 13:43:58 -0500
Subject: [PATCH] ENH: add missing cmake depend hacks

---
 Directory.cxx |  1 +
 Registry.cxx  | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/Directory.cxx b/Directory.cxx
index bdc298fd..4d84223e 100644
--- a/Directory.cxx
+++ b/Directory.cxx
@@ -26,6 +26,7 @@
 # include "Configure.hxx.in"
 # include "kwsys_stl.hxx.in"
 # include "kwsys_stl_string.hxx.in"
+# include "kwsys_stl_vector.hxx.in"
 #endif
 
 namespace KWSYS_NAMESPACE
diff --git a/Registry.cxx b/Registry.cxx
index 6e75c66e..80d98979 100644
--- a/Registry.cxx
+++ b/Registry.cxx
@@ -21,6 +21,18 @@
 #include KWSYS_HEADER(ios/iostream)
 #include KWSYS_HEADER(ios/fstream)
 #include KWSYS_HEADER(ios/sstream)
+// Work-around CMake dependency scanning limitation.  This must
+// duplicate the above list of headers.
+#if 0
+# include "Registry.hxx.in"
+# include "Configure.hxx.in"
+# include "kwsys_stl.hxx.in"
+# include "kwsys_stl_string.hxx.in"
+# include "kwsys_stl_map.hxx.in"
+# include "kwsys_ios_iostream.h.in"
+# include "kwsys_ios_fstream.h.in"
+# include "kwsys_ios_sstream.h.in"
+#endif
 
 #include <ctype.h> // for isspace
 #include <stdio.h>
-- 
GitLab