From 3bd9d67488b98cb1141b7aaadbffb6550935f2aa Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 7 Mar 2007 13:52:32 -0500 Subject: BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds. --- Source/kwsys/testDynamicLoader.cxx | 4 +++- Source/kwsys/testSystemTools.cxx | 4 +++- 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 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 #include /* strcmp */ -- cgit v0.12