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-04 07:20:09 +08:00
|
|
|
SHA512 1c5a1d5a4f7d5b81121971e6d563a280ee74f312b023b1009d9fc7c1718dd76503cbd28e8d18bc7de8cc648e1d1e2c014e5469813e99ff30da8a26ef575c1308
|
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)
|