mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-12 20:39:49 -05:00
Merge topic 'ExternalProject-restore-case-insensitive-hash'
0ed885f7 ExternalProject: Restore case-insensitive download hash check
This commit is contained in:
@@ -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 "")
|
||||
|
||||
Reference in New Issue
Block a user