mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-28 05:30:22 +00:00
[vcpkg-download-distfile] Fix #2426
This commit is contained in:
parent
4a095e8ced
commit
7f9ca12c4c
@ -45,7 +45,7 @@ function(vcpkg_download_distfile VAR)
|
||||
if(NOT DEFINED vcpkg_download_distfile_FILENAME)
|
||||
message(FATAL_ERROR "vcpkg_download_distfile requires a FILENAME argument.")
|
||||
endif()
|
||||
if(NOT DEFINED vcpkg_download_distfile_SHA512)
|
||||
if(NOT _VCPKG_INTERNAL_NO_HASH_CHECK AND NOT DEFINED vcpkg_download_distfile_SHA512)
|
||||
message(FATAL_ERROR "vcpkg_download_distfile requires a SHA512 argument.")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user