Browse Source

FindOpenSSL: Document use of pkg-config

Issue: #17548
tofraa 3 years ago
parent
commit
42199256af
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Modules/FindOpenSSL.cmake

+ 5 - 0
Modules/FindOpenSSL.cmake

@@ -104,6 +104,11 @@ The following variables may be set to control search behavior:
   .. versionadded:: 3.5
 
   Set to ``TRUE`` to choose the MT version of the lib.
+
+``ENV{PKG_CONFIG_PATH}``
+  On UNIX-like systems, ``pkg-config`` is used to locate the system OpenSSL.
+  Set the ``PKG_CONFIG_PATH`` environment varialbe to look in alternate
+  locations.  Useful on multi-lib systems.
 #]=======================================================================]
 
 macro(_OpenSSL_test_and_find_dependencies ssl_library crypto_library)