Pārlūkot izejas kodu

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

Brad King 18 gadi atpakaļ
vecāks
revīzija
3bd9d67488

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