diff options
author | Brad King <brad.king@kitware.com> | 2021-12-06 17:03:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-06 17:03:08 (GMT) |
commit | ae48449cf05815f35631159b92fd53d62b81f907 (patch) | |
tree | 15f25d1a5c382668198c4673366f3499eb023da2 /Modules | |
parent | 14f8990a607b08effe81b14ed8a02d8cbbea5833 (diff) | |
download | CMake-ae48449cf05815f35631159b92fd53d62b81f907.zip CMake-ae48449cf05815f35631159b92fd53d62b81f907.tar.gz CMake-ae48449cf05815f35631159b92fd53d62b81f907.tar.bz2 |
FindOpenSSL: Search in lib64 directories on non-Windows platforms
The upstream `openssl` build system may install libraries to `lib64`
even on platforms whose conventions do not use `lib64` for
distro-packaged libraries.
Fixes: #22945
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenSSL.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index 8474e05..e0144d1 100644 --- a/Modules/FindOpenSSL.cmake +++ b/Modules/FindOpenSSL.cmake @@ -435,7 +435,7 @@ else() ${_OPENSSL_LIBDIR} ${_OPENSSL_LIBRARY_DIRS} PATH_SUFFIXES - lib + lib lib64 ) find_library(OPENSSL_CRYPTO_LIBRARY @@ -447,7 +447,7 @@ else() ${_OPENSSL_LIBDIR} ${_OPENSSL_LIBRARY_DIRS} PATH_SUFFIXES - lib + lib lib64 ) mark_as_advanced(OPENSSL_CRYPTO_LIBRARY OPENSSL_SSL_LIBRARY) |