summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmConditionEvaluator.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmConditionEvaluator.cxx b/Source/cmConditionEvaluator.cxx
index 6a0ebec..4bfe697 100644
--- a/Source/cmConditionEvaluator.cxx
+++ b/Source/cmConditionEvaluator.cxx
@@ -105,7 +105,7 @@ bool cmConditionEvaluator::IsTrue(
}
cmListFileContext cmConditionEvaluator::GetConditionContext(
- cmMakefile* mf,
+ cmMakefile*,
const cmCommandContext& command,
const std::string& filePath)
{
@@ -113,13 +113,6 @@ cmListFileContext cmConditionEvaluator::GetConditionContext(
cmListFileContext::FromCommandContext(
command,
filePath);
-
- if(!mf->GetCMakeInstance()->GetIsInTryCompile())
- {
- cmOutputConverter converter(mf->GetStateSnapshot());
- context.FilePath = converter.Convert(context.FilePath,
- cmOutputConverter::HOME);
- }
return context;
}