Browse Source

FindOpenSSL: Reformat hints documentation as definition list

Brad King 3 years ago
parent
commit
475880f39b
1 changed files with 12 additions and 5 deletions
  1. 12 5
      Modules/FindOpenSSL.cmake

+ 12 - 5
Modules/FindOpenSSL.cmake

@@ -90,13 +90,20 @@ This module will set the following variables in your project:
 Hints
 ^^^^^
 
-Set ``OPENSSL_ROOT_DIR`` to the root directory of an OpenSSL installation.
+The following variables may be set to control search behavior:
 
-.. versionadded:: 3.4
-  Set ``OPENSSL_USE_STATIC_LIBS`` to ``TRUE`` to look for static libraries.
+``OPENSSL_ROOT_DIR``
+  Set to the root directory of an OpenSSL installation.
+
+``OPENSSL_USE_STATIC_LIBS``
+  .. versionadded:: 3.4
+
+  Set to ``TRUE`` to look for static libraries.
+
+``OPENSSL_MSVC_STATIC_RT``
+  .. versionadded:: 3.5
 
-.. versionadded:: 3.5
-  Set ``OPENSSL_MSVC_STATIC_RT`` set ``TRUE`` to choose the MT version of the lib.
+  Set to ``TRUE`` to choose the MT version of the lib.
 #]=======================================================================]
 
 macro(_OpenSSL_test_and_find_dependencies ssl_library crypto_library)