From 68737734876770ddacb817e07d2c63e61b42a34b Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 27 Jul 2005 17:23:39 -0400 Subject: [PATCH] BUG: InitializeFromParent should copy include file regular expressions. --- Source/cmMakefile.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 1741b069b..c1b566f52 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)