PageRenderTime 23ms CodeModel.GetById 18ms 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
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. set(OpenSSL_FIND_QUIETLY ON)
  4. set(OpenSSL_FIND_REQUIRED ON)
  5. if (STANDALONE)
  6. include(FindOpenSSL)
  7. else (STANDALONE)
  8. use_prebuilt_binary(openSSL)
  9. if (WINDOWS)
  10. set(OPENSSL_LIBRARIES ssleay32 libeay32)
  11. else (WINDOWS)
  12. set(OPENSSL_LIBRARIES ssl crypto)
  13. endif (WINDOWS)
  14. set(OPENSSL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
  15. endif (STANDALONE)
  16. if (LINUX)
  17. set(CRYPTO_LIBRARIES crypto)
  18. elseif (DARWIN)
  19. set(CRYPTO_LIBRARIES crypto)
  20. endif (LINUX)