PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/OpenSSL.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 23 lines | 19 code | 3 blank | 1 comment | 5 complexity | 1737857ff702f28f048c86543dd94dd4 MD5 | raw file
 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 crypto)
15  endif (WINDOWS)
16  set(OPENSSL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
17endif (STANDALONE)
18
19if (LINUX)
20  set(CRYPTO_LIBRARIES crypto)
21elseif (DARWIN)
22  set(CRYPTO_LIBRARIES crypto)
23endif (LINUX)