diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 169724f81..cef2d46d9 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -304,7 +304,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector const& args) cmSystemTools::GetFilenameExtension(args[1]).c_str()+1, false); m_Makefile->AddSource(cfile); - sourceListValue = cfile.GetFullPath(); + sourceListValue = args[1]; for(i = testsBegin; i != tests.end(); ++i) {