vcpkg/ports/scope-guard/portfile.cmake
Oliver Old 47be7ff37d
[scope-guard] Update to v1.1.0 ()
* [scope-guard] Add v1.1.0

* Update baseline and versions
2023-03-19 23:20:48 -07:00

13 lines
449 B
CMake

# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ricab/scope_guard
REF "v${VERSION}"
SHA512 e2488bdfc14bd5696d3bd5909bb7355003f76258a4ab39778e17aedf338cb2ca548caf568fad93d51b602c891ba96a3c7b3ef6e21dcf4bd9cb595d01d5c063a8
HEAD_REF main
)
file(INSTALL "${SOURCE_PATH}/scope_guard.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")