diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 7dd9304e6a..46c90824f3 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -5588,7 +5588,7 @@ std::string cmGeneratorTarget::GetLinkerTool(const std::string& lang, this->LocalGenerator->IssueMessage( MessageType::FATAL_ERROR, cmStrCat("LINKER_TYPE '", linkerType, - "' is unknown. Did you forgot to define '", usingLinker, + "' is unknown. Did you forget to define '", usingLinker, "' variable?")); } } diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 4afed4314f..1dd2f4a849 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -3359,7 +3359,7 @@ void cmLocalGenerator::AppendLinkerTypeFlags(std::string& flags, } else if (linkerType != "DEFAULT"_s) { this->IssueMessage(MessageType::FATAL_ERROR, cmStrCat("LINKER_TYPE '", linkerType, - "' is unknown. Did you forgot to define '", + "' is unknown. Did you forget to define '", usingLinker, "' variable?")); } }