FindOpenSSL.cmake | FindOpenSSL.cmake | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
endif (PKG_CONFIG_FOUND) | endif (PKG_CONFIG_FOUND) | |||
endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4) | endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4) | |||
find_path(OPENSSL_INCLUDE_DIR | find_path(OPENSSL_INCLUDE_DIR | |||
NAMES | NAMES | |||
openssl/ssl.h | openssl/ssl.h | |||
PATHS | PATHS | |||
${_OPENSSL_INCLUDEDIR} | ${_OPENSSL_INCLUDEDIR} | |||
/usr/include | /usr/include | |||
/usr/local/include | /usr/local/include | |||
/usr/local/ssl/include | ||||
/opt/local/include | /opt/local/include | |||
/sw/include | /sw/include | |||
/usr/lib/sfw/include | ||||
) | ) | |||
mark_as_advanced(OPENSSL_INCLUDE_DIR) | mark_as_advanced(OPENSSL_INCLUDE_DIR) | |||
find_library(SSL_LIBRARY | find_library(SSL_LIBRARY | |||
NAMES | NAMES | |||
ssl | ssl | |||
libssl | ||||
PATHS | PATHS | |||
${_OPENSSL_LIBDIR} | ${_OPENSSL_LIBDIR} | |||
/usr/lib | /usr/lib | |||
/usr/local/lib | /usr/local/lib | |||
/usr/local/ssl/lib | ||||
/opt/local/lib | /opt/local/lib | |||
/sw/lib | /sw/lib | |||
/usr/sfw/lib/64 | ||||
/usr/sfw/lib | ||||
) | ) | |||
mark_as_advanced(SSL_LIBRARY) | mark_as_advanced(SSL_LIBRARY) | |||
find_library(SSLEAY32_LIBRARY | find_library(SSLEAY32_LIBRARY | |||
NAMES | NAMES | |||
ssleay32 | ssleay32 | |||
PATHS | PATHS | |||
${_OPENSSL_LIBDIR} | ${_OPENSSL_LIBDIR} | |||
/usr/lib | /usr/lib | |||
/usr/local/lib | /usr/local/lib | |||
/usr/local/ssl/lib | ||||
/opt/local/lib | /opt/local/lib | |||
/sw/lib | /sw/lib | |||
/usr/sfw/lib/64 | ||||
/usr/sfw/lib | ||||
) | ) | |||
mark_as_advanced(SSLEAY32_LIBRARY) | mark_as_advanced(SSLEAY32_LIBRARY) | |||
find_library(SSLEAY32MD_LIBRARY | find_library(SSLEAY32MD_LIBRARY | |||
NAMES | NAMES | |||
ssleay32MD | ssleay32MD | |||
PATHS | PATHS | |||
${_OPENSSL_LIBDIR} | ${_OPENSSL_LIBDIR} | |||
/usr/lib | /usr/lib | |||
/usr/local/lib | /usr/local/lib | |||
/usr/local/ssl/lib | ||||
/opt/local/lib | /opt/local/lib | |||
/sw/lib | /sw/lib | |||
/usr/sfw/lib/64 | ||||
/usr/sfw/lib | ||||
) | ) | |||
mark_as_advanced(SSLEAY32MD_LIBRARY) | mark_as_advanced(SSLEAY32MD_LIBRARY) | |||
find_library(CRYPTO_LIBRARY | find_library(CRYPTO_LIBRARY | |||
NAMES | NAMES | |||
crypto | crypto | |||
libcrypto | ||||
eay | ||||
eay32 | ||||
libeay | ||||
libeay32 | ||||
PATHS | PATHS | |||
${_OPENSSL_LIBDIR} | ${_OPENSSL_LIBDIR} | |||
/lib | ||||
/usr/lib | /usr/lib | |||
/usr/local/lib | /usr/local/lib | |||
/usr/local/ssl/lib | ||||
/opt/local/lib | /opt/local/lib | |||
/sw/lib | /sw/lib | |||
/usr/sfw/lib/64 | ||||
/usr/sfw/lib | ||||
) | ) | |||
mark_as_advanced(CRYPTO_LIBRARY) | mark_as_advanced(CRYPTO_LIBRARY) | |||
if (SSL_LIBRARY) | if (SSL_LIBRARY) | |||
set(SSL_FOUND TRUE CACHE INTERNAL "Wether the ssl library has been foun d" FORCE) | set(SSL_FOUND TRUE CACHE INTERNAL "Wether the ssl library has been foun d" FORCE) | |||
endif (SSL_LIBRARY) | endif (SSL_LIBRARY) | |||
if (SSLEAY32_LIBRARY) | if (SSLEAY32_LIBRARY) | |||
set(SSLEAY32_FOUND TRUE CACHE INTERNAL "Wether the ssleay32 library has been found" FORCE) | set(SSLEAY32_FOUND TRUE CACHE INTERNAL "Wether the ssleay32 library has been found" FORCE) | |||
endif (SSLEAY32_LIBRARY) | endif (SSLEAY32_LIBRARY) | |||
End of changes. 13 change blocks. | ||||
0 lines changed or deleted | 21 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |