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.
This commit is contained in:
parent
2b8c55ead0
commit
619c7adf62
@ -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)
|
||||
MARK_AS_ADVANCED(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user