Răsfoiți Sursa

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

Brad King 18 ani în urmă
părinte
comite
3bd9d67488
2 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  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"
 # include "kwsys_stl_string.hxx.in"
 #endif
 #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)
 kwsys_stl::string GetLibName(const char* lname)
 {
 {

+ 3 - 1
Source/kwsys/testSystemTools.cxx

@@ -27,7 +27,9 @@
 # include "kwsys_ios_iostream.h.in"
 # include "kwsys_ios_iostream.h.in"
 #endif
 #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 */
 #include <string.h> /* strcmp */