cmTarget: Join strings conditionally.
This commit is contained in:
parent
bf28b7874b
commit
01e666c70e
|
@ -768,9 +768,9 @@ void cmTarget::GetSourceFiles(std::vector<cmSourceFile*> &files,
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmTarget::AddTracedSources(std::vector<std::string> const& srcs)
|
void cmTarget::AddTracedSources(std::vector<std::string> const& srcs)
|
||||||
{
|
{
|
||||||
std::string srcFiles = cmJoin(srcs, ";");
|
if (!srcs.empty())
|
||||||
if (!srcFiles.empty())
|
|
||||||
{
|
{
|
||||||
|
std::string srcFiles = cmJoin(srcs, ";");
|
||||||
this->Internal->SourceFilesMap.clear();
|
this->Internal->SourceFilesMap.clear();
|
||||||
this->LinkImplementationLanguageIsContextDependent = true;
|
this->LinkImplementationLanguageIsContextDependent = true;
|
||||||
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
|
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
|
||||||
|
|
Loading…
Reference in New Issue