From 9ad598a9f05a66a53580ab94ab1ef7c1b2a36c81 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Thu, 8 Nov 2001 11:50:28 -0500 Subject: Fix bug. Was using unexpanded var instead of copy --- Source/cmSourceFilesCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSourceFilesCommand.cxx b/Source/cmSourceFilesCommand.cxx index 53d4602..003bc2f 100644 --- a/Source/cmSourceFilesCommand.cxx +++ b/Source/cmSourceFilesCommand.cxx @@ -71,7 +71,7 @@ bool cmSourceFilesCommand::InitialPass(std::vector const& args) } else { - file.SetName(i->c_str(), m_Makefile->GetCurrentDirectory(), + file.SetName(copy.c_str(), m_Makefile->GetCurrentDirectory(), m_Makefile->GetSourceExtensions(), m_Makefile->GetHeaderExtensions()); } -- cgit v0.12