mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
cmMakefile: Re-order independent statements.
This commit is contained in:
@@ -559,6 +559,11 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (filenametoread)
|
||||||
|
{
|
||||||
|
this->cmCurrentListFile = filenametoread;
|
||||||
|
}
|
||||||
|
|
||||||
if (external_in)
|
if (external_in)
|
||||||
{
|
{
|
||||||
external_abs =
|
external_abs =
|
||||||
@@ -567,12 +572,6 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||||||
external = external_abs.c_str();
|
external = external_abs.c_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
// keep track of the current file being read
|
|
||||||
if (filenametoread)
|
|
||||||
{
|
|
||||||
this->cmCurrentListFile = filenametoread;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(external_in)
|
if(external_in)
|
||||||
{
|
{
|
||||||
filenametoread= external;
|
filenametoread= external;
|
||||||
|
|||||||
Reference in New Issue
Block a user