diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-08 16:50:28 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-08 16:50:28 (GMT) |
commit | 9ad598a9f05a66a53580ab94ab1ef7c1b2a36c81 (patch) | |
tree | be1c9eedc8b5a0c93c43d0c78d2f3568e204f2d6 /Source/cmSourceFilesCommand.cxx | |
parent | 53f8721f996042d38d8fa88780875309b56a6450 (diff) | |
download | CMake-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.cxx | 2 |
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()); } |