diff options
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 72dd9a6..9be764f 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -290,6 +290,19 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external) } } } + + // send scope ended to and funciton blockers + if (filename) + { + // loop over all function blockers to see if any block this command + std::set<cmFunctionBlocker *>::const_iterator pos; + for (pos = m_FunctionBlockers.begin(); + pos != m_FunctionBlockers.end(); ++pos) + { + (*pos)->ScopeEnded(*this); + } + } + return true; } |