aboutsummaryrefslogtreecommitdiff
path: root/modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindOpenSSL.cmake')
-rw-r--r--modules/FindOpenSSL.cmake18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/FindOpenSSL.cmake b/modules/FindOpenSSL.cmake
index 952d4c20..ada33cf0 100644
--- a/modules/FindOpenSSL.cmake
+++ b/modules/FindOpenSSL.cmake
@@ -19,20 +19,20 @@ FIND_LIBRARY(OPENSSL_LIBRARIES NAMES ssl ssleay32
${GNUWIN32_DIR}/lib
)
-if(OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES)
+if (OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES)
set(OPENSSL_FOUND TRUE)
-endif(OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES)
+endif (OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES)
-if(OPENSSL_FOUND)
- if(NOT OpenSSL_FIND_QUIETLY)
+if (OPENSSL_FOUND)
+ if (NOT OpenSSL_FIND_QUIETLY)
message(STATUS "Found OpenSSL: ${OPENSSL_LIBRARIES}")
- endif(NOT OpenSSL_FIND_QUIETLY)
-else(OPENSSL_FOUND)
- if(OpenSSL_FIND_REQUIRED)
+ endif (NOT OpenSSL_FIND_QUIETLY)
+else (OPENSSL_FOUND)
+ if (OpenSSL_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find OpenSSL")
- endif(OpenSSL_FIND_REQUIRED)
-endif(OPENSSL_FOUND)
+ endif (OpenSSL_FIND_REQUIRED)
+endif (OPENSSL_FOUND)
MARK_AS_ADVANCED(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)