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