diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-02 16:42:21 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-10 13:46:21 (GMT) |
commit | f84193292cb36e26d13a3f1f56a1539f088e8827 (patch) | |
tree | 797f2c1cb1014e03fa9b2f8e5bfa7d7966eb3eb8 /Source/cmFindBase.cxx | |
parent | 3c2e58eeb884adea8ee12462f7d471ab518a673f (diff) | |
download | CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.zip CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.gz CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.bz2 |
Use new AddCacheEntry signatures
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r-- | Source/cmFindBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index f4e1763..37f9572 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -358,8 +358,8 @@ void cmFindBase::NormalizeFindResult() // value. if (value != *existingValue || this->AlreadyInCacheWithoutMetaInfo) { this->Makefile->GetCMakeInstance()->AddCacheEntry( - this->VariableName, value.c_str(), - this->VariableDocumentation.c_str(), this->VariableType); + this->VariableName, value, this->VariableDocumentation.c_str(), + this->VariableType); if (this->Makefile->GetPolicyStatus(cmPolicies::CMP0126) == cmPolicies::NEW) { if (this->Makefile->IsNormalDefinitionSet(this->VariableName)) { |