summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-12 19:26:12 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-12 19:53:37 (GMT)
commitba7b939831428e51042ba98ea54df8b98a20ab27 (patch)
tree2ccc1cebe0f61e29d5b469599b2f88e14ec75c02 /Source/cmGlobalUnixMakefileGenerator3.cxx
parent09bee3bee137af72f57ee10327e4e5f689ce7e90 (diff)
downloadCMake-ba7b939831428e51042ba98ea54df8b98a20ab27.zip
CMake-ba7b939831428e51042ba98ea54df8b98a20ab27.tar.gz
CMake-ba7b939831428e51042ba98ea54df8b98a20ab27.tar.bz2
cmStateDirectory: Rename ConvertToRelPathIf{Not => }Contained
The "Not" in the method name is backward from its logic.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index 248abff..e28baf3 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -610,7 +610,7 @@ cmGlobalUnixMakefileGenerator3::GenerateBuildCommand(
tname += "/fast";
}
tname =
- mf->GetStateSnapshot().GetDirectory().ConvertToRelPathIfNotContained(
+ mf->GetStateSnapshot().GetDirectory().ConvertToRelPathIfContained(
mf->GetState()->GetBinaryDirectory(), tname);
cmSystemTools::ConvertToOutputSlashes(tname);
makeCommand.Add(std::move(tname));