diff options
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r-- | Source/cmCreateTestSourceList.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 8a20151..8154ad7 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -289,13 +289,13 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn) for(i = testsBegin; i != tests.end(); ++i) { - cmSourceFile cfile; - cfile.SetProperty("ABSTRACT","0"); - cfile.SetName(i->c_str(), + cmSourceFile icfile; + icfile.SetProperty("ABSTRACT","0"); + icfile.SetName(i->c_str(), m_Makefile->GetCurrentDirectory(), m_Makefile->GetSourceExtensions(), m_Makefile->GetHeaderExtensions()); - m_Makefile->AddSource(cfile); + m_Makefile->AddSource(icfile); sourceListValue += ";"; sourceListValue += *i; } |