summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFilesCommand.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-08 16:50:28 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-08 16:50:28 (GMT)
commit9ad598a9f05a66a53580ab94ab1ef7c1b2a36c81 (patch)
treebe1c9eedc8b5a0c93c43d0c78d2f3568e204f2d6 /Source/cmSourceFilesCommand.cxx
parent53f8721f996042d38d8fa88780875309b56a6450 (diff)
downloadCMake-9ad598a9f05a66a53580ab94ab1ef7c1b2a36c81.zip
CMake-9ad598a9f05a66a53580ab94ab1ef7c1b2a36c81.tar.gz
CMake-9ad598a9f05a66a53580ab94ab1ef7c1b2a36c81.tar.bz2
Fix bug. Was using unexpanded var instead of copy
Diffstat (limited to 'Source/cmSourceFilesCommand.cxx')
-rw-r--r--Source/cmSourceFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
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<std::string> 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());
}