Browse Source

LINKER_TYPE: fix spelling error in message

Marc Chevrier 1 year ago
parent
commit
939ac5287e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Source/cmGeneratorTarget.cxx
  2. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
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?"));
     }
   }

+ 1 - 1
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?"));
   }
 }