summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.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/cmTarget.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/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 91dcd0e..f84d246 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -934,7 +934,7 @@ void cmTarget::GetTllSignatureTraces(std::ostream& s, TLLSignature sig) const
for (auto const& cmd : this->impl->TLLCommands) {
if (cmd.first == sig) {
cmListFileContext lfc = cmd.second;
- lfc.FilePath = cmDir.ConvertToRelPathIfNotContained(
+ lfc.FilePath = cmDir.ConvertToRelPathIfContained(
this->impl->Makefile->GetState()->GetSourceDirectory(), lfc.FilePath);
s << " * " << lfc << '\n';
}