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}"
|
2023-09-29 13:58:52 +08:00
|
|
|
SHA512 eb782d48240cf2fa8cc3cddd699dce3a362eb480b3ca58a97d54cd3595a0c969e51fe14374b91136036e8e29c8f745efbd5a4d1aaed2c17f23cb89fb756645d0
|
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")
|