summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-07-27 21:23:39 (GMT)
committerBrad King <brad.king@kitware.com>2005-07-27 21:23:39 (GMT)
commit68737734876770ddacb817e07d2c63e61b42a34b (patch)
treea63a4cb981a2cf29371fc621a4a091069041120e /Source/cmMakefile.cxx
parent80802c21b64dc585a08c39ba72d7add103fafeb4 (diff)
downloadCMake-68737734876770ddacb817e07d2c63e61b42a34b.zip
CMake-68737734876770ddacb817e07d2c63e61b42a34b.tar.gz
CMake-68737734876770ddacb817e07d2c63e61b42a34b.tar.bz2
BUG: InitializeFromParent should copy include file regular expressions.
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)