summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 1741b06..c1b566f 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -812,6 +812,10 @@ void cmMakefile::InitializeFromParent()
// the initial project name
this->m_ProjectName = parent->m_ProjectName;
+
+ // Copy include regular expressions.
+ this->m_IncludeFileRegularExpression = parent->m_IncludeFileRegularExpression;
+ this->m_ComplainFileRegularExpression = parent->m_ComplainFileRegularExpression;
}
void cmMakefile::ConfigureSubDirectory(cmLocalGenerator *lg2)