Prechádzať zdrojové kódy

Help: Minor grammar and formatting cleanup

Craig Scott 1 rok pred
rodič
commit
6636b11997

+ 2 - 2
Help/policy/CMP0164.rst

@@ -7,8 +7,8 @@ CMP0164
 the platform.
 
 In CMake 3.29 and below, on platforms that do not support shared libraries
-(:prop_gbl:`TARGET_SUPPORTS_SHARED_LIBS` is ``false``), the
-:command:`add_library` command automatically converted ``SHARED`` libraries to
+(:prop_gbl:`TARGET_SUPPORTS_SHARED_LIBS` is false), the
+:command:`add_library` command automatically converts ``SHARED`` libraries to
 ``STATIC`` libraries to help users build projects on such platforms.  However,
 the semantics of shared and static libraries are different enough that such
 automatic conversion cannot work in general.  Projects using shared libraries

+ 2 - 2
Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst

@@ -3,7 +3,7 @@ TARGET_SUPPORTS_SHARED_LIBS
 
 Does the target platform support shared libraries.
 
-TARGET_SUPPORTS_SHARED_LIBS is a boolean specifying whether the target
+``TARGET_SUPPORTS_SHARED_LIBS`` is a boolean specifying whether the target
 platform supports shared libraries.  Basically all current general
-general purpose OS do so, the exception are usually embedded systems
+purpose OS do so, the exceptions are usually embedded systems
 with no or special OSs.