LINKER_TYPE: fix spelling error in message

This commit is contained in:
Marc Chevrier 2024-03-12 18:18:25 +01:00
parent 922883782b
commit 939ac5287e
2 changed files with 2 additions and 2 deletions

View File

@ -5588,7 +5588,7 @@ std::string cmGeneratorTarget::GetLinkerTool(const std::string& lang,
this->LocalGenerator->IssueMessage( this->LocalGenerator->IssueMessage(
MessageType::FATAL_ERROR, MessageType::FATAL_ERROR,
cmStrCat("LINKER_TYPE '", linkerType, cmStrCat("LINKER_TYPE '", linkerType,
"' is unknown. Did you forgot to define '", usingLinker, "' is unknown. Did you forget to define '", usingLinker,
"' variable?")); "' variable?"));
} }
} }

View File

@ -3359,7 +3359,7 @@ void cmLocalGenerator::AppendLinkerTypeFlags(std::string& flags,
} else if (linkerType != "DEFAULT"_s) { } else if (linkerType != "DEFAULT"_s) {
this->IssueMessage(MessageType::FATAL_ERROR, this->IssueMessage(MessageType::FATAL_ERROR,
cmStrCat("LINKER_TYPE '", linkerType, cmStrCat("LINKER_TYPE '", linkerType,
"' is unknown. Did you forgot to define '", "' is unknown. Did you forget to define '",
usingLinker, "' variable?")); usingLinker, "' variable?"));
} }
} }