diff options
author | Brad King <brad.king@kitware.com> | 2021-05-12 19:26:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-12 19:53:37 (GMT) |
commit | ba7b939831428e51042ba98ea54df8b98a20ab27 (patch) | |
tree | 2ccc1cebe0f61e29d5b469599b2f88e14ec75c02 /Source/cmGlobalGenerator.cxx | |
parent | 09bee3bee137af72f57ee10327e4e5f689ce7e90 (diff) | |
download | CMake-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/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 1357974..cca3bdc 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -3029,7 +3029,7 @@ void cmGlobalGenerator::AddRuleHash(const std::vector<std::string>& outputs, // Shorten the output name (in expected use case). cmStateDirectory cmDir = this->GetMakefiles()[0]->GetStateSnapshot().GetDirectory(); - std::string fname = cmDir.ConvertToRelPathIfNotContained( + std::string fname = cmDir.ConvertToRelPathIfContained( this->GetMakefiles()[0]->GetState()->GetBinaryDirectory(), outputs[0]); // Associate the hash with this output. |