summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-DOWNLOAD/TLS_VERSION-good.cmake
blob: fcbf6505899379a4609b4dcfbc6ca7e3b9c4ff6f (plain)
1
2
3
4
5
6
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()