summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDmitry Lobanov <gaussblurinc@gmail.com>2021-08-28 20:18:38 +0300
committerGitHub <noreply@github.com>2021-08-28 20:18:38 +0300
commit4c0ea9f06d7fa1d5345544617620a762a4e6e5d7 (patch)
tree2100839e0b0d730bed2ec5469df67991481f83c5 /cmake
parent08b3ee2f83414dab084a35a7aa9daa81fc6f764e (diff)
downloadlibgit2-4c0ea9f06d7fa1d5345544617620a762a4e6e5d7.tar.gz
cmake: select hashes umbrella variable has been removed.
Co-authored-by: Edward Thomson <ethomson@github.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/SelectHashes.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/SelectHashes.cmake b/cmake/SelectHashes.cmake
index 5c8b5ec93..092cdfd05 100644
--- a/cmake/SelectHashes.cmake
+++ b/cmake/SelectHashes.cmake
@@ -56,8 +56,7 @@ ELSE()
MESSAGE(FATAL_ERROR "Asked for unknown SHA1 backend: ${USE_SHA1}")
ENDIF()
-FILE(GLOB SRC_SHA1_UMBRELLA "hash/sha1.h")
-list(APPEND SRC_SHA1 ${SRC_SHA1_UMBRELLA})
+list(APPEND SRC_SHA1 "hash/sha1.h")
list(SORT SRC_SHA1)
ADD_FEATURE_INFO(SHA ON "using ${USE_SHA1}")