зеркало из https://github.com/microsoft/vcpkg.git
16 строки
537 B
CMake
16 строки
537 B
CMake
# WinReg - Header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO GiovanniDicanio/WinReg
|
|
REF "v${VERSION}"
|
|
SHA512 b32fadcc8eb9f5b453015ab3f825f3b72393b589552c609df027a3db11dad4d539b0c65076ff207241c25f1da46b7a289dda93592d6db504e73ad201c712d4b2
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Copy the single reusable library header
|
|
file(COPY "${SOURCE_PATH}/WinReg/WinReg.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
|
|
|
# Handle copyright
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|