2022-07-01 04:03:18 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO microsoft/proxy
|
2023-12-28 07:51:43 +08:00
|
|
|
REF ${VERSION}
|
2024-04-24 03:42:56 +08:00
|
|
|
SHA512 ed5e5dd6288b8b357d9c664c7f9d5d042f6262d7e3e638712d96cb4c24fefa2d5c54c4054fbbfdb34cc2d7fcb08ce2f05186e12aba89a24b02c906aa8e3e0494
|
2022-07-01 04:03:18 +08:00
|
|
|
HEAD_REF main
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|