summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r--Source/cmMacroCommand.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index e7a27e5..8613044 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -302,17 +302,6 @@ ShouldRemove(const cmListFileFunction& lff, cmMakefile &mf)
return false;
}
-void cmMacroFunctionBlocker::
-ScopeEnded(cmMakefile &mf)
-{
- // macros should end with an EndMacro
- cmSystemTools::Error(
- "The end of a CMakeLists file was reached with a MACRO statement that "
- "was not closed properly. Within the directory: ",
- mf.GetCurrentDirectory(), " with macro ",
- this->Args[0].c_str());
-}
-
bool cmMacroCommand::InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &)
{