Commit af97166f5a664c2b34eeaa791ba617381eac8949

Edward Thomson 2021-08-28T13:45:33

Merge pull request #6013 from lolgear/cmake_hash_sha_missing_header CMake. hash sha1 header has been added.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cmake/SelectHashes.cmake b/cmake/SelectHashes.cmake
index 06672ab..092cdfd 100644
--- a/cmake/SelectHashes.cmake
+++ b/cmake/SelectHashes.cmake
@@ -56,6 +56,7 @@ ELSE()
 	MESSAGE(FATAL_ERROR "Asked for unknown SHA1 backend: ${USE_SHA1}")
 ENDIF()
 
+list(APPEND SRC_SHA1 "hash/sha1.h")
 list(SORT SRC_SHA1)
 
 ADD_FEATURE_INFO(SHA ON "using ${USE_SHA1}")