diff options
author | Aurelien Regat-Barrel <arb@cyberkarma.net> | 2022-10-30 00:26:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-30 12:42:19 (GMT) |
commit | d78671879b8779ef73b7b256f6d0eeb874ce6687 (patch) | |
tree | 5514ae5e3d1b5c219725688c07cf1b5663421856 /Help/guide/tutorial/Step7/MathFunctions | |
parent | 59ae2543165b836d01b88fe0ba4e22ecd549e239 (diff) | |
download | CMake-d78671879b8779ef73b7b256f6d0eeb874ce6687.zip CMake-d78671879b8779ef73b7b256f6d0eeb874ce6687.tar.gz CMake-d78671879b8779ef73b7b256f6d0eeb874ce6687.tar.bz2 |
file(DOWNLOAD): Fix LOG with EXPECTED_HASH on download failure
When `file(DOWNLOAD <url> EXPECTED_HASH <hash> LOG <logs>)` fails to
download the requested file, the hash check will also fail and make the
command exit without actually returning the curl logs as requested
by the `LOG` argument. Report the log before checking the hash.
Issue: #24093
Diffstat (limited to 'Help/guide/tutorial/Step7/MathFunctions')
0 files changed, 0 insertions, 0 deletions