From 40d4f3683cd9ce42ae1ff4f9458f504c0a2dce42 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Mon, 23 Jun 2003 08:56:03 -0400
Subject: [PATCH] BUG: Need include regular expression to match all files.

---
 CMakeLists.txt | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb3b5d8..c4e6091 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,6 +83,9 @@ ENDIF(NOT KWSYS_NAMESPACE)
 # The project name is that of the specified namespace.
 PROJECT(${KWSYS_NAMESPACE})
 
+# Do full dependency headers.
+INCLUDE_REGULAR_EXPRESSION("^.*$")
+
 # Work-around for CMake 1.6.7 bug in custom command dependencies when
 # there is no executable output path.
 IF(NOT EXECUTABLE_OUTPUT_PATH)
@@ -189,11 +192,11 @@ SET(KWSYS_CLASSES)
 SET(KWSYS_H_FILES)
 SET(KWSYS_HXX_FILES Configure)
 
-# Enforce component dependencies.
-IF(KWSYS_USE_SystemTools)
-  SET(KWSYS_USE_Directory 1)
-  SET(KWSYS_USE_RegularExpression 1)
-ENDIF(KWSYS_USE_SystemTools)
+# Enforce component dependencies (none currently exists).
+#IF(KWSYS_USE_SystemTools)
+#  SET(KWSYS_USE_Directory 1)
+#  SET(KWSYS_USE_RegularExpression 1)
+#ENDIF(KWSYS_USE_SystemTools)
 
 # Add selected C++ classes.
 FOREACH(c Directory RegularExpression SystemTools)
-- 
GitLab