summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-20 16:54:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-01-20 16:54:39 (GMT)
commitd9d41d332d91abf0da7aa531b64bdecad5b6e9b9 (patch)
treecdc7465397d9ca338f070f208d008db6b72ec1b3
parent0f891007a902a79acf746479f6bfe19b96899cef (diff)
parent0ed885f742088b0e68103b87ee36837c37575628 (diff)
downloadCMake-d9d41d332d91abf0da7aa531b64bdecad5b6e9b9.zip
CMake-d9d41d332d91abf0da7aa531b64bdecad5b6e9b9.tar.gz
CMake-d9d41d332d91abf0da7aa531b64bdecad5b6e9b9.tar.bz2
Merge topic 'ExternalProject-restore-case-insensitive-hash'
0ed885f7 ExternalProject: Restore case-insensitive download hash check
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index a0f731c..458c114 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -889,7 +889,7 @@ function(_ep_write_downloadfile_script script_filename REMOTE LOCAL timeout no_p
if("${hash}" MATCHES "${_ep_hash_regex}")
set(ALGO "${CMAKE_MATCH_1}")
- set(EXPECT_VALUE "${CMAKE_MATCH_2}")
+ string(TOLOWER "${CMAKE_MATCH_2}" EXPECT_VALUE)
else()
set(ALGO "")
set(EXPECT_VALUE "")