View | Details | Raw Unified | Return to bug 211770
Collapse All | Expand All

(-)mysql57-client/files/patch-cmake_ssl.cmake (+15 lines)
Line 0 Link Here
1
--- cmake/ssl.cmake.orig	2016-08-12 10:55:07 UTC
2
+++ cmake/ssl.cmake
3
@@ -179,6 +179,12 @@ MACRO (MYSQL_CHECK_SSL)
4
        OPENSSL_MAJOR_VERSION STREQUAL "1"
5
       )
6
       SET(OPENSSL_FOUND TRUE)
7
+    ELSEIF(OPENSSL_INCLUDE_DIR AND
8
+       OPENSSL_LIBRARY   AND
9
+       CRYPTO_LIBRARY      AND
10
+       OPENSSL_MAJOR_VERSION STREQUAL "2"
11
+      )
12
+      SET(OPENSSL_FOUND TRUE)
13
     ELSE()
14
       SET(OPENSSL_FOUND FALSE)
15
     ENDIF()
(-)mysql57-server/files/patch-cmake_ssl.cmake (+15 lines)
Line 0 Link Here
1
--- cmake/ssl.cmake.orig	2016-08-12 10:55:07 UTC
2
+++ cmake/ssl.cmake
3
@@ -179,6 +179,12 @@ MACRO (MYSQL_CHECK_SSL)
4
        OPENSSL_MAJOR_VERSION STREQUAL "1"
5
       )
6
       SET(OPENSSL_FOUND TRUE)
7
+    ELSEIF(OPENSSL_INCLUDE_DIR AND
8
+       OPENSSL_LIBRARY   AND
9
+       CRYPTO_LIBRARY      AND
10
+       OPENSSL_MAJOR_VERSION STREQUAL "2"
11
+      )
12
+      SET(OPENSSL_FOUND TRUE)
13
     ELSE()
14
       SET(OPENSSL_FOUND FALSE)
15
     ENDIF()

Return to bug 211770