summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-12-19 20:13:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-12-19 20:14:19 (GMT)
commit85f61686b61b7968fefe5b7fc6a9cb6614938bd7 (patch)
tree0385db59bed2a0db99ca067ebcac042be766e371 /Source
parentbc47ce342e380f3f6552269f475f7d27a12e4dec (diff)
parenta81794842346713962361d17c2f58fe1b382ab27 (diff)
downloadCMake-85f61686b61b7968fefe5b7fc6a9cb6614938bd7.zip
CMake-85f61686b61b7968fefe5b7fc6a9cb6614938bd7.tar.gz
CMake-85f61686b61b7968fefe5b7fc6a9cb6614938bd7.tar.bz2
Merge topic 'code-comment-typos'
a817948423 Code comments: Fix trivial typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8030
Diffstat (limited to 'Source')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
-rw-r--r--Source/cmGlobalGenerator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 044f69f..6cfdf62 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/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>" });
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 4ebf9f6..66ab752 100644
--- a/Source/cmGlobalGenerator.h
+++ b/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