2019-09-17 04:12:04 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO GiovanniDicanio/WinReg
|
2022-04-02 05:39:46 +08:00
|
|
|
REF 4ac74bfec290ec4376100372f59dbc2554e54692 #v5.1.0
|
|
|
|
SHA512 3d25725c9fc781ffdfa1bbd3ed143a8381d40a1613d4786861e13b180098a5ce92ff193cf25d7490be0096c2eafcace45e6a2f94fbfaa28964d12b80b55d0637
|
2019-09-17 04:12:04 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
# Copy the single reusable library header
|
2021-11-04 12:45:24 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/WinReg/WinReg.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
2019-09-17 04:12:04 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2022-01-26 02:31:15 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|