Forráskód Böngészése

LINKER_TYPE: fix spelling error in message

Marc Chevrier 1 éve
szülő
commit
939ac5287e
2 módosított fájl, 2 hozzáadás és 2 törlés
  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(
       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?"));
     }
     }
   }
   }

+ 1 - 1
Source/cmLocalGenerator.cxx

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