diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index bb0b8cb..67138ba 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -563,15 +563,14 @@ bool cmMakefile::ReadListFile(const char* filename_in, } } + const char *filenametoread = filename; + // keep track of the current file being read if (filename) { this->cmCurrentListFile = filename; } - // Now read the input file - const char *filenametoread= filename; - if(external_in) { filenametoread= external; |