vcpkg/ports/proxy/portfile.cmake
2024-12-01 20:33:26 -08:00

20 lines
566 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/proxy
REF ${VERSION}
SHA512 140f2a8356b054bcee892808f592a4b255e08052cb1b9fb5e9687851af387fa8a1c58cb9aa518df19d1fa1129fb632d122496eb8bb2330a666db21c7d5d82aab
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)