Browse Source

BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds.

Brad King 18 years ago
parent
commit
3bd9d67488
2 changed files with 6 additions and 2 deletions
  1. 3 1
      Source/kwsys/testDynamicLoader.cxx
  2. 3 1
      Source/kwsys/testSystemTools.cxx

+ 3 - 1
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)
 {

+ 3 - 1
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 */