Browse Source

Merge topic 'code-comment-typos'

a817948423 Code comments: Fix trivial typos

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8030
Craig Scott 3 years ago
parent
commit
85f61686b6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Source/cmComputeLinkInformation.cxx
  2. 1 1
      Source/cmGlobalGenerator.h

+ 1 - 1
Source/cmComputeLinkInformation.cxx

@@ -368,7 +368,7 @@ cmComputeLinkInformation::cmComputeLinkInformation(
       LibraryFeatureDescriptor{ "__CMAKE_LINK_EXECUTABLE",
                                 cmStrCat(this->LoaderFlag, "<LIBRARY>") });
   }
-  // To link framewortk using a full path
+  // To link framework using a full path
   this->LibraryFeatureDescriptors.emplace(
     "__CMAKE_LINK_FRAMEWORK",
     LibraryFeatureDescriptor{ "__CMAKE_LINK_FRAMEWORK", "<LIBRARY>" });

+ 1 - 1
Source/cmGlobalGenerator.h

@@ -371,7 +371,7 @@ public:
       that is a framework. */
   bool NameResolvesToFramework(const std::string& libname) const;
   /** Split a framework path to the directory and name of the framework as well
-   * as optiona; suffix.
+   * as optional suffix.
    * Returns std::nullopt if the path does not match with framework format
    * when extendedFormat is true, required format is relaxed (i.e. extension
    * `.framework' is optional). Used when FRAMEWORK link feature is