Added spaces between brackets for double clicking

This commit is contained in:
Ninetainedo 2016-09-25 00:24:38 +02:00
parent 930d0a7ded
commit 62d9473412

View File

@ -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")