diff options
author | tofraa <torfaas@gmail.com> | 2022-07-02 10:09:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-05 15:54:40 (GMT) |
commit | 42199256afa566acd0a6935d3e772773d1dc18ef (patch) | |
tree | 8c1ee135bfbced1004f76b1ffa981c4a312ee579 /Modules | |
parent | 475880f39b09fb1defb6f0a40f6c8261a0e8788e (diff) | |
download | CMake-42199256afa566acd0a6935d3e772773d1dc18ef.zip CMake-42199256afa566acd0a6935d3e772773d1dc18ef.tar.gz CMake-42199256afa566acd0a6935d3e772773d1dc18ef.tar.bz2 |
FindOpenSSL: Document use of pkg-config
Issue: #17548
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenSSL.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index 6f80d8e..352c4cc 100644 --- a/Modules/FindOpenSSL.cmake +++ b/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) |