summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-07-23 19:02:43 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-07-29 14:53:39 (GMT)
commitc78a7d11dd1eda50ce69566cc74311dde218839c (patch)
treedab2f1c2a2a011e0fb70702b5e30637d5b81c814 /Modules/FindOpenSSL.cmake
parent7464519304636703e2b08a1b89f2d9069d8eb096 (diff)
downloadCMake-c78a7d11dd1eda50ce69566cc74311dde218839c.zip
CMake-c78a7d11dd1eda50ce69566cc74311dde218839c.tar.gz
CMake-c78a7d11dd1eda50ce69566cc74311dde218839c.tar.bz2
FindOpenSSL: let CMake handle environment variable HINTS
This will automatically make sure the paths will get recoded to proper separators on Windows
Diffstat (limited to 'Modules/FindOpenSSL.cmake')
-rw-r--r--Modules/FindOpenSSL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake
index bd46c9f..652ce05 100644
--- a/Modules/FindOpenSSL.cmake
+++ b/Modules/FindOpenSSL.cmake
@@ -31,10 +31,10 @@ endif (UNIX)
# http://www.slproweb.com/products/Win32OpenSSL.html
SET(_OPENSSL_ROOT_HINTS
- $ENV{OPENSSL_ROOT_DIR}
${OPENSSL_ROOT_DIR}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;Inno Setup: App Path]"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;Inno Setup: App Path]"
+ ENV OPENSSL_ROOT_DIR
)
SET(_OPENSSL_ROOT_PATHS
"$ENV{PROGRAMFILES}/OpenSSL"