Felix Geyer 9 lat temu
rodzic
commit
566086187f

+ 1 - 1
Help/manual/cmake-buildsystem.7.rst

@@ -860,7 +860,7 @@ with :prop_tgt:`IMPORTED` targets.
 Alias Targets
 -------------
 
-An ``ALIAS`` target is a name which may be used interchangably with
+An ``ALIAS`` target is a name which may be used interchangeably with
 a binary target name in read-only contexts.  A primary use-case for ``ALIAS``
 targets is for example or unit test executables accompanying a library, which
 may be part of the same buildsystem or built separately based on user

+ 1 - 1
Modules/FindCUDA.cmake

@@ -299,7 +299,7 @@
 #                            implementation (alternative to:
 #                            CUDA_ADD_CUFFT_TO_TARGET macro)
 #   CUDA_CUBLAS_LIBRARIES -- Device or emulation library for the Cuda BLAS
-#                            implementation (alterative to:
+#                            implementation (alternative to:
 #                            CUDA_ADD_CUBLAS_TO_TARGET macro).
 #   CUDA_cudart_static_LIBRARY -- Statically linkable cuda runtime library.
 #                                 Only available for CUDA version 5.5+

+ 1 - 1
Modules/GenerateExportHeader.cmake

@@ -81,7 +81,7 @@
 # ``OTHER_NAME_EXPORT``, ``OTHER_NAME_NO_EXPORT`` and ``OTHER_NAME_DEPRECATED``
 # etc.
 #
-# The ``BASE_NAME`` may be overridden by specifiying other options in the
+# The ``BASE_NAME`` may be overridden by specifying other options in the
 # function.  For example:
 #
 # .. code-block:: cmake

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -1455,7 +1455,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
           w << cmPolicies::GetPolicyWarning(cmPolicies::CMP0065) << "\n"
             "For compatibility with older versions of CMake, "
             "additional flags may be added to export symbols on all "
-            "executables regardless of thier ENABLE_EXPORTS property.";
+            "executables regardless of their ENABLE_EXPORTS property.";
           /* clang-format on */
           this->IssueMessage(cmake::AUTHOR_WARNING, w.str());
         }

+ 1 - 1
Tests/RunCMake/CMP0065/WARN-ON-stderr.txt

@@ -5,6 +5,6 @@ CMake Warning \(dev\) in CMakeLists.txt:
   set the policy and suppress this warning.
 
   For compatibility with older versions of CMake, additional flags may be
-  added to export symbols on all executables regardless of thier
+  added to export symbols on all executables regardless of their
   ENABLE_EXPORTS property.
 This warning is for project developers.  Use -Wno-dev to suppress it.