summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-DOWNLOAD/TLS_VERIFY-good.cmake
blob: 279eb69ac8527bd06abde57b8407ca0a1224f021 (plain)
1
2
3
4
5
6
file(DOWNLOAD ${url} TLS_VERIFY 1 STATUS status LOG log)
message(STATUS "${status}")
list(GET status 0 code)
if(NOT code EQUAL 0)
  message("${log}")
endif()