summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-09-25 19:17:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-09-25 19:17:01 (GMT)
commit998a17d098c3e07fc011fdc568d9bc17ddfe1700 (patch)
tree5debb6284bbcaf46c6bf6a5c673d74e38d369668 /Modules/ExternalProject.cmake
parentf00f58fe13f4b0dbee7c7efb76694b7a7f9cac2e (diff)
parent95a00116044ed52d92c20a467b9266476eb56632 (diff)
downloadCMake-998a17d098c3e07fc011fdc568d9bc17ddfe1700.zip
CMake-998a17d098c3e07fc011fdc568d9bc17ddfe1700.tar.gz
CMake-998a17d098c3e07fc011fdc568d9bc17ddfe1700.tar.bz2
Merge topic 'file-DOWNLOAD-EXPECTED_HASH'
95a0011 file(DOWNLOAD): Change EXPECTED_HASH to take ALGO=value
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 5b29c30..8d57860 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -412,7 +412,7 @@ function(_ep_write_downloadfile_script script_filename remote local timeout hash
endif()
if("${hash}" MATCHES "${_ep_hash_regex}")
- set(hash_args EXPECTED_HASH ${CMAKE_MATCH_1} ${CMAKE_MATCH_2})
+ set(hash_args EXPECTED_HASH ${CMAKE_MATCH_1}=${CMAKE_MATCH_2})
else()
set(hash_args "# no EXPECTED_HASH")
endif()