File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,12 @@ function(sourcemeta_target_clang_format_attempt_install)
54
54
set (CLANG_FORMAT_BINARY_WHEEL "${CLANG_FORMAT_BINARY_DOWNLOAD_DIR} /clang-format.whl" )
55
55
message (STATUS "Downloading `clang-format` pre-built binary from ${CLANG_FORMAT_BINARY_URL} " )
56
56
file (DOWNLOAD "${CLANG_FORMAT_BINARY_URL} " "${CLANG_FORMAT_BINARY_WHEEL} "
57
- STATUS CLANG_FORMAT_BINARY_DOWNLOAD_STATUS SHOW_PROGRESS TLS_VERIFY ON )
57
+ STATUS CLANG_FORMAT_BINARY_DOWNLOAD_STATUS SHOW_PROGRESS TLS_VERIFY ON
58
+ LOG CLANG_FORMAT_BINARY_DOWNLOAD_LOG )
58
59
list (GET CLANG_FORMAT_BINARY_DOWNLOAD_STATUS 0 _code )
59
60
if (NOT _code EQUAL 0 )
60
61
message (WARNING "Failed to download the `clang-format` pre-built binary" )
62
+ message (WARNING "${CLANG_FORMAT_BINARY_DOWNLOAD_LOG} " )
61
63
file (REMOVE_RECURSE "${CLANG_FORMAT_BINARY_DOWNLOAD_DIR} " )
62
64
return ()
63
65
endif ()
You can’t perform that action at this time.
0 commit comments