summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProject
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-11 14:53:17 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-11 20:00:57 (GMT)
commitbeb8a8309bc0ce08e4884a59329607ac09c322ac (patch)
treeba8dfeb8e3c617187b94cb770c1869fc95dd867a /Tests/ExternalProject
parent4bcd84e65ad2f792c549989b9d773191ad75e5eb (diff)
downloadCMake-beb8a8309bc0ce08e4884a59329607ac09c322ac.zip
CMake-beb8a8309bc0ce08e4884a59329607ac09c322ac.tar.gz
CMake-beb8a8309bc0ce08e4884a59329607ac09c322ac.tar.bz2
ExternalProject: Generalize URL_MD5 option to URL_HASH
Add support for SHA algorithms.
Diffstat (limited to 'Tests/ExternalProject')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index 33ffe2e..3f8e827 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -189,7 +189,7 @@ set_property(TARGET ${proj} PROPERTY FOLDER "Local/TGZ")
set(proj TutorialStep1-LocalNoDirTGZ)
ExternalProject_Add(${proj}
URL "${CMAKE_CURRENT_SOURCE_DIR}/Step1NoDir.tgz"
- URL_MD5 0b8182edcecdf40bf1c9d71d7d259f78
+ URL_HASH SHA256=496229e2a5ed620a37c385ad9406004a18026beab8b55dd2c4565d4b7f1d5383
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
INSTALL_COMMAND ""