summaryrefslogtreecommitdiffstats
path: root/Source/cmWhileCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r--Source/cmWhileCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx
index 4b7afd8..aabbe27 100644
--- a/Source/cmWhileCommand.cxx
+++ b/Source/cmWhileCommand.cxx
@@ -56,8 +56,8 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf,
commandContext.Name = execContext.Name;
cmListFileContext conditionContext =
- cmConditionEvaluator::GetConditionContext(
- &mf, commandContext,
+ cmListFileContext::FromCommandContext(
+ commandContext,
this->GetStartingContext().FilePath);
cmConditionEvaluator conditionEvaluator(