From 5c6c68e051d24d0bded596b93aa68d40adcd4d81 Mon Sep 17 00:00:00 2001 From: Mack Date: Tue, 18 Jun 2024 11:38:55 +0800 Subject: [PATCH] ci: update openssl version 3.1.2 JIRA: STUDIO-6329 Change-Id: Ic4e6a02e7077579fb540e408d635ba890a779a48 --- deps/OpenSSL/OpenSSL.cmake | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deps/OpenSSL/OpenSSL.cmake b/deps/OpenSSL/OpenSSL.cmake index 32e0a3159..4794e2cfc 100644 --- a/deps/OpenSSL/OpenSSL.cmake +++ b/deps/OpenSSL/OpenSSL.cmake @@ -38,15 +38,15 @@ else() endif () endif() -# if(CMAKE_SYSTEM_NAME STREQUAL "Linux") -# set(url_str "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1k.tar.gz") -# set(url_hash "SHA256=b92f9d3d12043c02860e5e602e50a73ed21a69947bcc74d391f41148e9f6aa95") -# else() -# set(url_str "https://github.com/openssl/openssl/archive/refs/tags/openssl-3.1.2.tar.gz") -# set(url_hash "SHA256=8c776993154652d0bb393f506d850b811517c8bd8d24b1008aef57fbe55d3f31") -# endif() -set(url_str "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1w.tar.gz") -set(url_hash "SHA256=2130E8C2FB3B79D1086186F78E59E8BC8D1A6AEDF17AB3907F4CB9AE20918C41") +if(CMAKE_SYSTEM_NAME STREQUAL "Linux") +set(url_str "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1k.tar.gz") +set(url_hash "SHA256=b92f9d3d12043c02860e5e602e50a73ed21a69947bcc74d391f41148e9f6aa95") +else() +set(url_str "https://github.com/openssl/openssl/archive/refs/tags/openssl-3.1.2.tar.gz") +set(url_hash "SHA256=8c776993154652d0bb393f506d850b811517c8bd8d24b1008aef57fbe55d3f31") +endif() +# set(url_str "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1w.tar.gz") +# set(url_hash "SHA256=2130E8C2FB3B79D1086186F78E59E8BC8D1A6AEDF17AB3907F4CB9AE20918C41") ExternalProject_Add(dep_OpenSSL #EXCLUDE_FROM_ALL ON URL ${url_str}