diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/OpenSSL.cmake | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/cmake/OpenSSL.cmake')
-rw-r--r-- | linden/indra/cmake/OpenSSL.cmake | 23 |
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 -*- | ||
2 | include(Prebuilt) | ||
3 | |||
4 | set(OpenSSL_FIND_QUIETLY ON) | ||
5 | set(OpenSSL_FIND_REQUIRED ON) | ||
6 | |||
7 | if (STANDALONE) | ||
8 | include(FindOpenSSL) | ||
9 | else (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) | ||
17 | endif (STANDALONE) | ||
18 | |||
19 | if (LINUX) | ||
20 | set(CRYPTO_LIBRARIES crypto) | ||
21 | elseif (DARWIN) | ||
22 | set(CRYPTO_LIBRARIES llcrypto) | ||
23 | endif (LINUX) | ||