2022-07-19 06:10:20 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO BLAKE3-team/BLAKE3
|
2023-05-26 06:30:37 +08:00
|
|
|
REF "${VERSION}"
|
2024-03-27 02:49:23 +08:00
|
|
|
SHA512 a2ac662b0e45d1f4c4ee01a5e556a47c49ab5407a6057034033ce6fd0fc6b88f66dd428d80f5e7c4a8413356cb4b5ab655924d96138213499893e0204d7c8d24
|
2022-07-19 06:10:20 +08:00
|
|
|
HEAD_REF main
|
2023-09-29 13:58:52 +08:00
|
|
|
PATCHES
|
|
|
|
fix-windows-arm-build-error.patch
|
2022-07-19 06:10:20 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
2023-05-26 06:30:37 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/c"
|
2022-07-19 06:10:20 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
2023-05-26 06:30:37 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
2022-07-19 06:10:20 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|