浏览代码

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

Brad King 18 年之前
父节点
当前提交
3bd9d67488
共有 2 个文件被更改,包括 6 次插入2 次删除
  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 */