OpenSSL.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:0k
源码类别:

游戏引擎

开发平台:

C++ Builder

  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)
  13.   endif (WINDOWS)
  14.   set(OPENSSL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
  15. endif (STANDALONE)
  16. if (LINUX)
  17.   set(CRYPTO_LIBRARIES crypto)
  18. elseif (DARWIN)
  19.   set(CRYPTO_LIBRARIES llcrypto)
  20. endif (LINUX)