HDFS-16304. Locate OpenSSL libs for libhdfspp (#3625)
This commit is contained in:
parent
d2b8d6b534
commit
0a952e4d1f
|
@ -115,6 +115,7 @@ find_library(OPENSSL_LIBRARY
|
||||||
NAMES ${OPENSSL_NAME}
|
NAMES ${OPENSSL_NAME}
|
||||||
PATHS ${CUSTOM_OPENSSL_PREFIX} ${CUSTOM_OPENSSL_PREFIX}/lib
|
PATHS ${CUSTOM_OPENSSL_PREFIX} ${CUSTOM_OPENSSL_PREFIX}/lib
|
||||||
${CUSTOM_OPENSSL_PREFIX}/lib64 ${CUSTOM_OPENSSL_LIB} NO_DEFAULT_PATH)
|
${CUSTOM_OPENSSL_PREFIX}/lib64 ${CUSTOM_OPENSSL_LIB} NO_DEFAULT_PATH)
|
||||||
|
find_library(OPENSSL_LIBRARY NAMES ${OPENSSL_NAME})
|
||||||
find_path(OPENSSL_INCLUDE_DIR
|
find_path(OPENSSL_INCLUDE_DIR
|
||||||
NAMES openssl/evp.h
|
NAMES openssl/evp.h
|
||||||
PATHS ${CUSTOM_OPENSSL_PREFIX} ${CUSTOM_OPENSSL_PREFIX}/include
|
PATHS ${CUSTOM_OPENSSL_PREFIX} ${CUSTOM_OPENSSL_PREFIX}/include
|
||||||
|
|
Loading…
Reference in New Issue