aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake')
-rw-r--r--vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake b/vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake
new file mode 100644
index 0000000..cf01ab4
--- /dev/null
+++ b/vcpkg/ports/vulkan-memory-allocator-hpp/portfile.cmake
@@ -0,0 +1,15 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO YaaZ/VulkanMemoryAllocator-Hpp
+ REF "v${VERSION}"
+ SHA512 95f5a8930431c18683d7e768ce1363b4edcb2fa7ca527054c77dbc8b34355308f621eed8cd018a574a928ac93e8689d4a8991802e3d601f5c0d1204a9155aee6
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
+
+file(COPY "${SOURCE_PATH}/src/vk_mem_alloc.cppm" 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")