vcpkg/ports/greatest/portfile.cmake
chausner cec4e710f7
[greatest] Update to 1.5.0 (#20643)
* Update greatest to 1.5.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-11 20:24:18 -07:00

14 lines
478 B
CMake

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO silentbicycle/greatest
REF v1.5.0
SHA512 836392A7C9C56C6A5658FD18B4BBB146304B1997DFD9CB59F2A83C18A5EC140C8DDE64A2C0CF9A169C426B9E586D37E2ED7D7FB792402DBB4149CC424EC2DB2E
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/greatest.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)