2022-07-13 02:07:46 +08:00
|
|
|
# WinReg - Header-only library
|
|
|
|
|
2019-09-17 04:12:04 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO GiovanniDicanio/WinReg
|
2024-02-22 02:22:39 +08:00
|
|
|
REF "v${VERSION}"
|
2024-09-19 03:26:40 +08:00
|
|
|
SHA512 a242be16e7acf435ccd83f2becdcf8d07a63daae3801f92a7bfab8c13cd120a7eb83e30150c9eb8d0ef2fad56ea070e1a3a47da372ab600c7b6f586b30ce41fc
|
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
|
2024-02-22 02:22:39 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|