summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2013-04-12 12:47:59 (GMT)
committerBrad King <brad.king@kitware.com>2013-04-12 12:50:06 (GMT)
commit1b614e018cf835e6e2227ecaa45f33d798d39819 (patch)
tree4bb1379ef8086b7422b5cd806d0a34d651d4f662 /Modules/FindOpenSSL.cmake
parent6bfa3d8668ecbc0c7b57f1c0fdcd56ba177a00b6 (diff)
downloadCMake-1b614e018cf835e6e2227ecaa45f33d798d39819.zip
CMake-1b614e018cf835e6e2227ecaa45f33d798d39819.tar.gz
CMake-1b614e018cf835e6e2227ecaa45f33d798d39819.tar.bz2
FindOpenSSL: Fix spelling of CMAKE_CROSSCOMPILING (#14075)
Use of the mis-spelled variable name 'CMAKE_CROSS_COMPILING' was introduced by commit 4b793ad1 (FindOpenSSL: find cross-compiled OpenSSL from MinGW, 2012-07-23). Fix the spelling.
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 224c88e..a7224ea 100644
--- a/Modules/FindOpenSSL.cmake
+++ b/Modules/FindOpenSSL.cmake
@@ -143,7 +143,7 @@ if(WIN32 AND NOT CYGWIN)
# same player, for MingW
set(LIB_EAY_NAMES libeay32)
set(SSL_EAY_NAMES ssleay32)
- if(CMAKE_CROSS_COMPILING)
+ if(CMAKE_CROSSCOMPILING)
list(APPEND LIB_EAY_NAMES crypto)
list(APPEND SSL_EAY_NAMES ssl)
endif()