summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-18 12:50:35 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-18 13:29:19 (GMT)
commitf0dae032ee44283d08869c2a948f001dc211bfd5 (patch)
tree36a7ae7ac5871cdf39165831a53b68ba16447fba /Source
parent08da8742709d6da74d1a17de46990ec5aaf3ad0f (diff)
downloadCMake-f0dae032ee44283d08869c2a948f001dc211bfd5.zip
CMake-f0dae032ee44283d08869c2a948f001dc211bfd5.tar.gz
CMake-f0dae032ee44283d08869c2a948f001dc211bfd5.tar.bz2
cmMakefile: Re-order independent statements.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 5ab1928..042ffc0 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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;