Browse Source

Merge topic 'FindOpenSSL-cross-compiling'

1b614e0 FindOpenSSL: Fix spelling of CMAKE_CROSSCOMPILING (#14075)
Brad King 12 years ago
parent
commit
5386aaecd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindOpenSSL.cmake

+ 1 - 1
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()