summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r--Source/cmCreateTestSourceList.cxx4
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);
}