Skip to content

Commit

Permalink
fix download
Browse files Browse the repository at this point in the history
  • Loading branch information
mcb5637 committed Sep 19, 2024
1 parent afeff8f commit b6eb95f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,16 @@ set(blake3_files
blake3_sse41_x86-64_windows_gnu.S
blake3_sse41_x86-64_windows_msvc.asm
libblake3.pc.in
LICENSE
)

foreach(file ${blake3_files})
file(DOWNLOAD "https://raw.githubusercontent.com/BLAKE3-team/BLAKE3/${blake3_rev}/${file}"
file(DOWNLOAD "https://raw.githubusercontent.com/BLAKE3-team/BLAKE3/${blake3_rev}/c/${file}"
"${CMAKE_CURRENT_SOURCE_DIR}/src/dice/hash/blake/internal/blake3/${file}"
TLS_VERIFY ON)
endforeach()
file(DOWNLOAD "https://raw.githubusercontent.com/BLAKE3-team/BLAKE3/${blake3_rev}/LICENSE_A2"
"${CMAKE_CURRENT_SOURCE_DIR}/src/dice/hash/blake/internal/blake3/LICENSE"
TLS_VERIFY ON)
add_subdirectory(src/dice/hash/blake/internal/blake3)

if (WITH_BLAKE)
Expand Down
2 changes: 1 addition & 1 deletion src/dice/hash/blake/internal/blake3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (POLICY CMP0128)
endif()

project(libblake3
VERSION 1.5.0
VERSION 1.5.4
DESCRIPTION "BLAKE3 C implementation"
LANGUAGES C ASM
)
Expand Down

0 comments on commit b6eb95f

Please sign in to comment.