diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-27 21:19:44 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-27 21:19:44 (GMT) |
commit | b63d6ee7ddefccbd290eec494a52cbc07c63dda4 (patch) | |
tree | e3e1e54ee518917cfa919966fb2dca9338edb9c7 /Source/cmCreateTestSourceList.cxx | |
parent | b0eb1031b71a403bb5af7b2bdea926eb39e13270 (diff) | |
download | CMake-b63d6ee7ddefccbd290eec494a52cbc07c63dda4.zip CMake-b63d6ee7ddefccbd290eec494a52cbc07c63dda4.tar.gz CMake-b63d6ee7ddefccbd290eec494a52cbc07c63dda4.tar.bz2 |
FIX: cmSourceFile::SetName was not called correctly for the test source files
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r-- | Source/cmCreateTestSourceList.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 37aed41..895d5aa 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -202,8 +202,8 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn) cfile.SetIsAnAbstractClass(false); cfile.SetName(i->c_str(), m_Makefile->GetCurrentDirectory(), - "cxx", - false); + m_Makefile->GetSourceExtensions(), + m_Makefile->GetHeaderExtensions()); m_Makefile->AddSource(cfile, sourceList); } |