mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
cmMakefile: Collapse nested conditional.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user