mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
8e6776b9f3
Add an option to specify the minimum allowed TLS version for https connections. Issue: #25701
7 lines
187 B
CMake
7 lines
187 B
CMake
file(DOWNLOAD ${url} TLS_VERSION "${tls_version}" TLS_VERIFY 1 STATUS status LOG log)
|
|
message(STATUS "${status}")
|
|
list(GET status 0 code)
|
|
if(NOT code EQUAL 0)
|
|
message("${log}")
|
|
endif()
|