cmMakefile: Remove intermediate variable.
This commit is contained in:
parent
9db1595410
commit
7d24854736
|
@ -532,11 +532,10 @@ bool cmMakefile::ProcessBuildsystemFile(const char* listfile)
|
|||
bool cmMakefile::ReadDependentFile(const char* listfile, bool noPolicyScope)
|
||||
{
|
||||
this->AddDefinition("CMAKE_PARENT_LIST_FILE", this->GetCurrentListFile());
|
||||
std::string filenametoread =
|
||||
this->cmCurrentListFile =
|
||||
cmSystemTools::CollapseFullPath(listfile,
|
||||
this->cmStartDirectory.c_str());
|
||||
this->cmCurrentListFile = filenametoread;
|
||||
return this->ReadListFile(0, filenametoread.c_str(),
|
||||
return this->ReadListFile(0, this->cmCurrentListFile.c_str(),
|
||||
noPolicyScope);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue