cmMakefile: Re-order independent statements.

This commit is contained in:
Stephen Kelly 2015-04-18 14:50:35 +02:00
parent 08da874270
commit f0dae032ee
1 changed files with 5 additions and 6 deletions

View File

@ -559,6 +559,11 @@ bool cmMakefile::ReadListFile(const char* filename_in,
}
}
if (filenametoread)
{
this->cmCurrentListFile = filenametoread;
}
if (external_in)
{
external_abs =
@ -567,12 +572,6 @@ bool cmMakefile::ReadListFile(const char* filename_in,
external = external_abs.c_str();
}
// keep track of the current file being read
if (filenametoread)
{
this->cmCurrentListFile = filenametoread;
}
if(external_in)
{
filenametoread= external;