summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-04 17:21:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-18 12:10:34 (GMT)
commit4efda261fead9f677144ffc6bc2b612a1d1dbcb6 (patch)
tree789865bb79d93c02d1fe5af87b54a7df29551236 /Source/cmMakeDepend.cxx
parent52f22616852e6a6e8f642f84fa821e0c8678a679 (diff)
downloadCMake-4efda261fead9f677144ffc6bc2b612a1d1dbcb6.zip
CMake-4efda261fead9f677144ffc6bc2b612a1d1dbcb6.tar.gz
CMake-4efda261fead9f677144ffc6bc2b612a1d1dbcb6.tar.bz2
cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION.
It costs an extra cmMakefile member and extra code to maintain in directory property handling. Remove documentation note that it is read-only and specify high-level command to populate it.
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index a6d4e58..cbc7e02 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -49,7 +49,7 @@ void cmMakeDepend::SetMakefile(cmMakefile* makefile)
// Now extract the include file regular expression from the makefile.
this->IncludeFileRegularExpression.compile(
- this->Makefile->IncludeFileRegularExpression.c_str());
+ this->Makefile->GetIncludeRegularExpression());
this->ComplainFileRegularExpression.compile(
this->Makefile->ComplainFileRegularExpression.c_str());