aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorclick <none@none>2010-09-20 20:58:57 +0200
committerclick <none@none>2010-09-20 20:58:57 +0200
commitf69c252f1dacd7c985eb7ce1a360384690fcb2dd (patch)
tree035b6a27bf9ff040a4f53b021b984adee3435b6b /cmake/macros/FindOpenSSL.cmake
parentce2d4e9a20608f69c29a31d4bdf28bb0142b3fbb (diff)
Buildsystem/Compilers: Adjust buildfiles slightly:
- Set SSE2 compile-flags only when used on 32-bit platforms (only used on x86 platforms, as x64 / Itanium has this as a standard) - Clean up/merge some of the 64-bit/32-bit compiler options - Clean up use of the PLATFORM variable (now sets PLATFORM 32 or PLATFORM 64, shaving off the CMAKE_SIZEOF_VOID_P test slightly) --HG-- branch : trunk
Diffstat (limited to 'cmake/macros/FindOpenSSL.cmake')
-rw-r--r--cmake/macros/FindOpenSSL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/macros/FindOpenSSL.cmake b/cmake/macros/FindOpenSSL.cmake
index 01f7d20e5d2..a2357af0742 100644
--- a/cmake/macros/FindOpenSSL.cmake
+++ b/cmake/macros/FindOpenSSL.cmake
@@ -13,7 +13,7 @@
set(OPENSSL_FOUND 0)
if( MSVC )
- if(PLATFORM MATCHES X64)
+ if(PLATFORM EQUAL 64)
set(TMP_OPENSSL_INCLUDE_DIR
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (64-bit)_is1;InstallLocation]/include"
)