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.
This commit is contained in:
Robin Lee 2013-04-12 08:47:59 -04:00 committed by Brad King
parent 6bfa3d8668
commit 1b614e018c
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ if(WIN32 AND NOT CYGWIN)
# same player, for MingW # same player, for MingW
set(LIB_EAY_NAMES libeay32) set(LIB_EAY_NAMES libeay32)
set(SSL_EAY_NAMES ssleay32) set(SSL_EAY_NAMES ssleay32)
if(CMAKE_CROSS_COMPILING) if(CMAKE_CROSSCOMPILING)
list(APPEND LIB_EAY_NAMES crypto) list(APPEND LIB_EAY_NAMES crypto)
list(APPEND SSL_EAY_NAMES ssl) list(APPEND SSL_EAY_NAMES ssl)
endif() endif()