summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index 99ca375..bb650eb 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -614,10 +614,10 @@ void cmExtraEclipseCDT4Generator::AppendIncludeDirectories(
// handle framework include dirs on OSX, the remainder after the
// Frameworks/ part has to be stripped
// /System/Library/Frameworks/GLUT.framework/Headers
- cmsys::RegularExpression frameworkRegex("(.+/Frameworks)/.+\\.framework/");
- if(frameworkRegex.find(dir.c_str()))
+ cmsys::RegularExpression frameworkRx("(.+/Frameworks)/.+\\.framework/");
+ if(frameworkRx.find(dir.c_str()))
{
- dir = frameworkRegex.match(1);
+ dir = frameworkRx.match(1);
}
if(emittedDirs.find(dir) == emittedDirs.end())