mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:57:59 +08:00
Added spaces between brackets for double clicking
This commit is contained in:
parent
930d0a7ded
commit
62d9473412
@ -11,9 +11,9 @@ function(vcpkg_download_distfile VAR)
|
|||||||
if(NOT "${FILE_HASH}" STREQUAL "${vcpkg_download_distfile_SHA512}")
|
if(NOT "${FILE_HASH}" STREQUAL "${vcpkg_download_distfile_SHA512}")
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"\nFile does not have expected hash:\n"
|
"\nFile does not have expected hash:\n"
|
||||||
" File path: [${downloaded_file_path}]\n"
|
" File path: [ ${downloaded_file_path} ]\n"
|
||||||
" Expected hash: [${vcpkg_download_distfile_SHA512}]\n"
|
" Expected hash: [ ${vcpkg_download_distfile_SHA512} ]\n"
|
||||||
" Actual hash: [${FILE_HASH}]\n"
|
" Actual hash: [ ${FILE_HASH} ]\n"
|
||||||
"Please delete the file and try again if this file should be downloaded again.\n")
|
"Please delete the file and try again if this file should be downloaded again.\n")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
@ -44,9 +44,9 @@ function(vcpkg_download_distfile VAR)
|
|||||||
if(NOT "${FILE_HASH}" STREQUAL "${vcpkg_download_distfile_SHA512}")
|
if(NOT "${FILE_HASH}" STREQUAL "${vcpkg_download_distfile_SHA512}")
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"\nFile does not have expected hash:\n"
|
"\nFile does not have expected hash:\n"
|
||||||
" File path: [${downloaded_file_path}]\n"
|
" File path: [ ${downloaded_file_path} ]\n"
|
||||||
" Expected hash: [${vcpkg_download_distfile_SHA512}]\n"
|
" Expected hash: [ ${vcpkg_download_distfile_SHA512} ]\n"
|
||||||
" Actual hash: [${FILE_HASH}]\n"
|
" Actual hash: [ ${FILE_HASH} ]\n"
|
||||||
"The file may be corrupted.\n")
|
"The file may be corrupted.\n")
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "Testing integrity of downloaded file... OK")
|
message(STATUS "Testing integrity of downloaded file... OK")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user