summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-10 21:36:12 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-11 16:46:00 (GMT)
commita9fa60997a0e6438399e2e6e4a9c02f2935b386a (patch)
tree6286e8ea99c593263b1a45d308c91ee16e06bff0 /Modules/ExternalProject.cmake
parentb4ffd26fd8750989a8aadd626242c314068ba987 (diff)
downloadCMake-a9fa60997a0e6438399e2e6e4a9c02f2935b386a.zip
CMake-a9fa60997a0e6438399e2e6e4a9c02f2935b386a.tar.gz
CMake-a9fa60997a0e6438399e2e6e4a9c02f2935b386a.tar.bz2
ExternalProject: Add support for SHA-3 algorithms
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 1e0be09..88ea4d8 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -423,7 +423,7 @@ if(_ep_func)
endif()
# Save regex matching supported hash algorithm names.
-set(_ep_hash_algos "MD5|SHA1|SHA224|SHA256|SHA384|SHA512")
+set(_ep_hash_algos "MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512")
set(_ep_hash_regex "^(${_ep_hash_algos})=([0-9A-Fa-f]+)$")
set(_ExternalProject_SELF "${CMAKE_CURRENT_LIST_FILE}")