cmMakefile: Collapse nested conditional.
This commit is contained in:
parent
5947d9b031
commit
3a8ac2423e
|
@ -548,14 +548,11 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||
filenametoread = filename_in;
|
||||
}
|
||||
|
||||
if (external_in)
|
||||
if (external_in && filename_in)
|
||||
{
|
||||
if (filename_in)
|
||||
{
|
||||
filenametoread =
|
||||
cmSystemTools::CollapseFullPath(filename_in,
|
||||
this->cmStartDirectory.c_str());
|
||||
}
|
||||
filenametoread =
|
||||
cmSystemTools::CollapseFullPath(filename_in,
|
||||
this->cmStartDirectory.c_str());
|
||||
}
|
||||
|
||||
if (!filenametoread.empty())
|
||||
|
|
Loading…
Reference in New Issue