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-09-19 03:25:59 +08:00
|
|
|
SHA512 39b8c49f70a84ac23df1ddaf920ad3d829268db108077e67108b19bc7cdf7e18d468eba5d58a10d79269101204dad52c9463a5b1729d212e15f6c7a419fcfbe7
|
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")
|
2024-09-19 03:25:59 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_A2" "${SOURCE_PATH}/LICENSE_A2LLVM" "${SOURCE_PATH}/LICENSE_CC0")
|