Răsfoiți Sursa

Help: Fix typos in 3.29 docs

Craig Scott 1 an în urmă
părinte
comite
eceb368ccc
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 1 1
      Help/command/if.rst
  2. 3 3
      Help/policy/CMP0156.rst

+ 1 - 1
Help/command/if.rst

@@ -180,7 +180,7 @@ File Operations
 
   .. note::
     Prefer ``if(IS_READABLE)`` to check file readability.  ``if(EXISTS)``
-    may be changed in the future to to only check file existence.
+    may be changed in the future to only check file existence.
 
 .. signature:: if(IS_READABLE <path-to-file-or-directory>)
 

+ 3 - 3
Help/policy/CMP0156.rst

@@ -17,20 +17,20 @@ Handling mutually dependent archives may be awkward when using a traditional
 linker. Archive files may have to be specified multiple times.
 
 Some linkers (for instance Apple or Windows linkers, as well as ``LLVM LLD``)
-records all symbols found in objects and archives as it iterates over command
+record all symbols found in objects and archives as they iterate over command
 line arguments. When one of these linkers encounters an undefined symbol that
 can be resolved by an object file contained in a previously processed archive
 file, it immediately extracts and links it into the output object.
 
 CMake 3.28 and below may generate link lines that repeat static libraries as
-a traditional linker would need, even when using a linker does not need it.
+a traditional linker would need, even when using a linker that does not need it.
 They may also de-duplicate shared libraries by keeping their last occurrence,
 which on Windows platforms can change DLL load order.
 
 CMake 3.29 and above prefer to apply different strategies based on linker
 capabilities.  So, when targeting Apple and Windows platforms, all
 libraries are de-duplicated.  Moreover, on Windows platforms, libraries
-are de-duplicated by keeping their fist occurrence, thus respecting the
+are de-duplicated by keeping their first occurrence, thus respecting the
 project-specified order.  This policy provides compatibility with projects
 that have not been updated to expect the latter behavior.