diff options
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r-- | Source/cmWhileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx index 00445e5..38cb9ba 100644 --- a/Source/cmWhileCommand.cxx +++ b/Source/cmWhileCommand.cxx @@ -28,7 +28,7 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf) } // at end of for each execute recorded commands - if (lff.m_Name == "ENDWHILE") + if (cmSystemTools::LowerCase(lff.m_Name) == "endwhile") { char* errorString = 0; @@ -64,7 +64,7 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf) bool cmWhileFunctionBlocker:: ShouldRemove(const cmListFileFunction& lff, cmMakefile& ) { - if(lff.m_Name == "ENDWHILE") + if(cmSystemTools::LowerCase(lff.m_Name) == "endwhile") { if (lff.m_Arguments == m_Args) { |