File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ packaged for the [Zig](https://ziglang.org/) build system.
881 . Add ` VulkanMemoryAllocator ` to the dependency list in ` build.zig.zon ` :
99
1010``` sh
11- zig fetch --save git+https://github.com/johan0A/VulkanMemoryAllocator#0.1.1+3.3.0
11+ zig fetch --save git+https://github.com/johan0A/VulkanMemoryAllocator
1212```
1313
14142 . Config ` build.zig ` :
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ pub fn build(b: *std.Build) !void {
1818 if (install_vulkan_headers ) lib .installHeadersDirectory (vulkan_headers_path , "" , .{});
1919 } else {
2020 if (b .lazyDependency ("vulkan_headers" , .{})) | vulkan_headers | {
21- lib .linkLibrary (vulkan_headers .artifact ("vulkan-headers" ));
22- if (install_vulkan_headers ) lib .installLibraryHeaders (vulkan_headers .artifact ("vulkan-headers" ));
21+ lib .addIncludePath (vulkan_headers .namedLazyPath ("vulkan-headers" ));
22+ if (install_vulkan_headers ) lib .installHeadersDirectory (vulkan_headers .namedLazyPath ("vulkan-headers" ), "" , .{} );
2323 }
2424 }
2525
Original file line number Diff line number Diff line change 11.{
22 .name = .VulkanMemoryAllocator ,
3- .version = "0.1.0 +3.3.0" ,
3+ .version = "0.1.2 +3.3.0" ,
44 .fingerprint = 0xb8aa25de81d2ad78 , // Changing this has security and trust implications.
55 .minimum_zig_version = "0.14.0" ,
66 .dependencies = .{
99 .hash = "N-V-__8AAIutPgABk6NlXZhlJ5P8qVECvakZIKoO94h7xUOw" ,
1010 },
1111 .vulkan_headers = .{
12- .url = "git+https://github.com/hexops /vulkan-headers#68ab446d1fa0707bb7082c95c51d33a731cafac2 " ,
13- .hash = "N-V-__8AAAIGzwCa4tCHc1jhxfgWaL73kQkckQuQ2WA2XWI5 " ,
12+ .url = "git+https://github.com/johan0A /vulkan-headers-zig#acab9467e982b249203db493dd5a3089aeb4c767 " ,
13+ .hash = "vulkan_headers-0.1.0+1.4.326-IPSI1uADAACG8vYTRpu3hY-wLEy_WGmJ5YwI_v2ajFAp " ,
1414 .lazy = true ,
1515 },
1616 },
You can’t perform that action at this time.
0 commit comments