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-06-13 07:45:12 +08:00
|
|
|
SHA512 e2a3a4811a0a8c88492efb74123dcbe26176fd307e1ba527b67001ae076970a36fd26282d4cd728c875ab228827962564a00ff0c3a8d99e2f12a29bbf431c547
|
2022-07-19 06:10:20 +08:00
|
|
|
HEAD_REF main
|
|
|
|
)
|
|
|
|
|
|
|
|
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")
|