summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/DOWNLOAD-no-save-hash.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file/DOWNLOAD-no-save-hash.cmake')
-rw-r--r--Tests/RunCMake/file/DOWNLOAD-no-save-hash.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/DOWNLOAD-no-save-hash.cmake b/Tests/RunCMake/file/DOWNLOAD-no-save-hash.cmake
new file mode 100644
index 0000000..ce959a7
--- /dev/null
+++ b/Tests/RunCMake/file/DOWNLOAD-no-save-hash.cmake
@@ -0,0 +1,8 @@
+if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" MATCHES "^/")
+ set(slash /)
+endif()
+file(DOWNLOAD
+ "file://${slash}${CMAKE_CURRENT_SOURCE_DIR}/DOWNLOAD-no-save-md5.txt"
+ EXPECTED_HASH MD5=55555555555555555555555555555555
+ STATUS status
+ )