From 619c7adf6272550c2ce3d27dd803c98d134ff3c9 Mon Sep 17 00:00:00 2001 From: "Daniel S. Reichenbach" Date: Fri, 22 Apr 2016 20:38:26 +0200 Subject: [PATCH] Fixed OpenSSL location (#118) This points to the Homebrew managed/activated OpenSSL version instead of a fixed version and avoids the necessity to update this file every time Homebrew releases an update. --- cmake/FindOpenSSL.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/FindOpenSSL.cmake b/cmake/FindOpenSSL.cmake index f7e9a456..530b9104 100644 --- a/cmake/FindOpenSSL.cmake +++ b/cmake/FindOpenSSL.cmake @@ -35,14 +35,14 @@ IF(PLATFORM EQUAL 64) "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;InstallLocation]" "C:/OpenSSL-Win64/" "C:/OpenSSL/" - "/usr/local/Cellar/openssl/1.0.2g/" + "/usr/local/opt/openssl/" ) ELSE() SET(_OPENSSL_ROOT_PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]" "C:/OpenSSL/" - "/usr/local/Cellar/openssl/1.0.2g/" + "/usr/local/opt/openssl/" ) ENDIF() @@ -220,4 +220,4 @@ if (OPENSSL_INCLUDE_DIR) endif (_OPENSSL_VERSION) endif (OPENSSL_INCLUDE_DIR) -MARK_AS_ADVANCED(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES) \ No newline at end of file +MARK_AS_ADVANCED(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)