7fe7f1d7b7
PR: 247348 Submitted by: maintainer
15 lines
435 B
CMake
15 lines
435 B
CMake
--- cmake/ssl.cmake.orig 2020-05-27 10:17:47 UTC
|
|
+++ cmake/ssl.cmake
|
|
@@ -206,6 +206,12 @@ MACRO (MYSQL_CHECK_SSL)
|
|
OPENSSL_MAJOR_VERSION STREQUAL "1"
|
|
)
|
|
SET(OPENSSL_FOUND TRUE)
|
|
+ ELSEIF(OPENSSL_INCLUDE_DIR AND
|
|
+ OPENSSL_LIBRARY AND
|
|
+ CRYPTO_LIBRARY AND
|
|
+ OPENSSL_MAJOR_VERSION STREQUAL "2"
|
|
+ )
|
|
+ SET(OPENSSL_FOUND TRUE)
|
|
ELSE()
|
|
SET(OPENSSL_FOUND FALSE)
|
|
ENDIF()
|