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-02-27 16:11:26 +08:00
|
|
|
SHA512 d8e635db541a53c1ea6014bf202dc59c0a358dd9288bcef2eeccc1dfdc0366ed63c8c25663880e65e8e03b8851a208a0a7028439df74cce8600c9cd01c4b8310
|
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)
|