From 05178900dbe6cc5b1357f7effce6381e9b2e8372 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 15 Jun 2010 20:06:05 +0200 Subject: [PATCH] Add support for detecting openssl with cmake using registry (windows) --HG-- branch : trunk --- cmake/FindOpenSSL.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/FindOpenSSL.cmake b/cmake/FindOpenSSL.cmake index f4d48e8122..ed72fd7527 100644 --- a/cmake/FindOpenSSL.cmake +++ b/cmake/FindOpenSSL.cmake @@ -26,6 +26,7 @@ else( OPENSSL_INCLUDE_DIRECTORIES AND OPENSSL_LIBRARIES ) /usr/local/openssl/include "C:/OpenSSL/include/openssl" "C:/OpenSSL-Win32/include/openssl" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/include/openssl" DOC "Specify the directory containing openssl.h." ) @@ -46,6 +47,7 @@ else( OPENSSL_INCLUDE_DIRECTORIES AND OPENSSL_LIBRARIES ) /usr/local/ssl/lib "C:/OpenSSL/lib" "C:/OpenSSL-Win32/lib" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (32-bit)_is1;InstallLocation]/lib" DOC "Specify the OpenSSL library here." )