CMake/Tests/CMakeTests/FileDownloadBadHashTest.cma...

11 lines
252 B
CMake
Raw Normal View History

2014-01-16 04:27:26 +04:00
set(url "file://@CMAKE_CURRENT_SOURCE_DIR@/FileDownloadInput.png")
set(dir "@CMAKE_CURRENT_BINARY_DIR@/downloads")
file(DOWNLOAD
${url}
${dir}/file3.png
TIMEOUT 2
STATUS status
EXPECTED_HASH SHA1=5555555555555555555555555555555555555555
)