diff options
Diffstat (limited to 'tools/cmake/modules/FindSDLOpenSSL.cmake')
-rw-r--r-- | tools/cmake/modules/FindSDLOpenSSL.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/cmake/modules/FindSDLOpenSSL.cmake b/tools/cmake/modules/FindSDLOpenSSL.cmake deleted file mode 100644 index c16236a1cb..0000000000 --- a/tools/cmake/modules/FindSDLOpenSSL.cmake +++ /dev/null @@ -1,18 +0,0 @@ -# - Try to find OpenSSL -# -# OPENSSL_INCLUDE_DIRECTORY - the OpenSSL include directory -# OPENSSL_LIBRARIES - the OpenSSL libraries - -get_os(OS) -if(${OS} STREQUAL "posix") - find_package(OpenSSL REQUIRED) -elseif(${OS} STREQUAL "win") - get_arch(ARCH) - if(${ARCH} STREQUAL "x86") - set(OPENSSL_DIR ${CMAKE_SOURCE_DIR}/build/openssl_win_x86) - elseif(${ARCH} STREQUAL "x64") - set(OPENSSL_DIR ${CMAKE_SOURCE_DIR}/build/openssl_win_x64) - endif() - set(OPENSSL_INCLUDE_DIRECTORY ${OPENSSL_DIR}/include) - set(OPENSSL_LIBRARIES ${OPENSSL_DIR}/lib/libeay32.lib ${OPENSSL_DIR}/lib/ssleay32.lib) -endif() |