summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-07 18:52:32 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-07 18:52:32 (GMT)
commit3bd9d67488b98cb1141b7aaadbffb6550935f2aa (patch)
treed392adb96117489e6eafb5c6def07d9dcde90324 /Source/kwsys
parentd12455fccb3726ee6d89c6fafe5f55f949694980 (diff)
downloadCMake-3bd9d67488b98cb1141b7aaadbffb6550935f2aa.zip
CMake-3bd9d67488b98cb1141b7aaadbffb6550935f2aa.tar.gz
CMake-3bd9d67488b98cb1141b7aaadbffb6550935f2aa.tar.bz2
BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds.
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/testDynamicLoader.cxx4
-rw-r--r--Source/kwsys/testSystemTools.cxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/Source/kwsys/testDynamicLoader.cxx b/Source/kwsys/testDynamicLoader.cxx
index d9d72d5..c7ddc2b 100644
--- a/Source/kwsys/testDynamicLoader.cxx
+++ b/Source/kwsys/testDynamicLoader.cxx
@@ -29,7 +29,9 @@
# include "kwsys_stl_string.hxx.in"
#endif
-#include "testSystemTools.h"
+// Include with <> instead of "" to avoid getting any in-source copy
+// left on disk.
+#include <testSystemTools.h>
kwsys_stl::string GetLibName(const char* lname)
{
diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx
index b88a72e..32fda43 100644
--- a/Source/kwsys/testSystemTools.cxx
+++ b/Source/kwsys/testSystemTools.cxx
@@ -27,7 +27,9 @@
# include "kwsys_ios_iostream.h.in"
#endif
-#include "testSystemTools.h"
+// Include with <> instead of "" to avoid getting any in-source copy
+// left on disk.
+#include <testSystemTools.h>
#include <string.h> /* strcmp */