You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

openssl.cmake 477 B

1234567891011121314
  1. if(ENABLE_GITEE)
  2. set(REQ_URL "https://gitee.com/mirrors/openssl/repository/archive/OpenSSL_1_1_1k.tar.gz")
  3. set(MD5 "d4acbcc4a5e6c31d86ede95b5d22f7a0")
  4. else()
  5. set(REQ_URL "https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_1_1k.tar.gz")
  6. set(MD5 "bdd51a68ad74618dd2519da8e0bcc759")
  7. endif()
  8. mindspore_add_pkg(openssl
  9. VER 1.1.0
  10. LIBS ssl crypto
  11. URL ${REQ_URL}
  12. MD5 ${MD5}
  13. CONFIGURE_COMMAND ./config no-zlib no-shared)
  14. include_directories(${openssl_INC})