aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/OpenSSL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/OpenSSL.cmake')
-rw-r--r--linden/indra/cmake/OpenSSL.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/linden/indra/cmake/OpenSSL.cmake b/linden/indra/cmake/OpenSSL.cmake
new file mode 100644
index 0000000..81584c0
--- /dev/null
+++ b/linden/indra/cmake/OpenSSL.cmake
@@ -0,0 +1,23 @@
1# -*- cmake -*-
2include(Prebuilt)
3
4set(OpenSSL_FIND_QUIETLY ON)
5set(OpenSSL_FIND_REQUIRED ON)
6
7if (STANDALONE)
8 include(FindOpenSSL)
9else (STANDALONE)
10 use_prebuilt_binary(openSSL)
11 if (WINDOWS)
12 set(OPENSSL_LIBRARIES ssleay32 libeay32)
13 else (WINDOWS)
14 set(OPENSSL_LIBRARIES ssl)
15 endif (WINDOWS)
16 set(OPENSSL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
17endif (STANDALONE)
18
19if (LINUX)
20 set(CRYPTO_LIBRARIES crypto)
21elseif (DARWIN)
22 set(CRYPTO_LIBRARIES llcrypto)
23endif (LINUX)