vcpkg/ports/d3d12-memory-allocator/portfile.cmake
Matthew Oliver 1d424272b9
[d3d12-memory-allocator] Update to 2.0.1 (#38095)
Updates to latest tagged release. Now uses the provided cmake file
instead of using a custom one (although a custom target file was added)

- [*] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [*] SHA512s are updated for each updated download.
- [*] The "supports" clause reflects platforms that may be fixed by this
new version.
- [*] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [*] Any patches that are no longer applied are deleted from the port's
directory.
- [*] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [*] Only one version is added to each modified port's versions file.
2024-04-11 10:57:16 -04:00

22 lines
663 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator
REF v${VERSION}
SHA512 99d81cad82fe8c78cfbc7a2a611d31e3bb38df55ac938aec289d1085be2ec46129c74dd2f56c850f257c43c6bd122913910fb9512029a1b3ab4a02f2ed327931
HEAD_REF master
PATCHES
0001-output-dirs.patch
0002-Fix-32b-compilation.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH cmake/)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")