vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake

14 lines
598 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO YaaZ/VulkanMemoryAllocator-Hpp
REF "v${VERSION}+2"
SHA512 72fccbba9ad422baa0f9e9389a72ccf4aa760ea1f15ecdf6d08604d60c25969938a300db6350363841ba66a40ca7804265477faeb601e142de9d7211da08ada2
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-vulkan-memory-allocator-hpp-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")