cmMakefile: Re-order independent variable setting.
This commit is contained in:
parent
e4f8f1f1b7
commit
3dc4fe02e6
@ -550,10 +550,6 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||||||
|
|
||||||
if (external_in)
|
if (external_in)
|
||||||
{
|
{
|
||||||
external_abs =
|
|
||||||
cmSystemTools::CollapseFullPath(external_in,
|
|
||||||
this->cmStartDirectory.c_str());
|
|
||||||
external = external_abs.c_str();
|
|
||||||
if (filename_in)
|
if (filename_in)
|
||||||
{
|
{
|
||||||
filename_abs =
|
filename_abs =
|
||||||
@ -561,6 +557,10 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||||||
this->cmStartDirectory.c_str());
|
this->cmStartDirectory.c_str());
|
||||||
filenametoread = filename_abs.c_str();
|
filenametoread = filename_abs.c_str();
|
||||||
}
|
}
|
||||||
|
external_abs =
|
||||||
|
cmSystemTools::CollapseFullPath(external_in,
|
||||||
|
this->cmStartDirectory.c_str());
|
||||||
|
external = external_abs.c_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
// keep track of the current file being read
|
// keep track of the current file being read
|
||||||
|
Loading…
x
Reference in New Issue
Block a user