Skip to content

Commit

Permalink
update to latest Zig API
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Apr 13, 2024
1 parent 8f7ca98 commit 95b04a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn build(b: *std.Build) void {

if (shared) lib.defineCMacro("_GLFW_BUILD_DLL", "1");

lib.installHeadersDirectory("include/GLFW", "GLFW");
lib.installHeadersDirectory(b.path("include/GLFW"), "GLFW", .{});
// GLFW headers depend on these headers, so they must be distributed too.
const vulkan_headers_dep = b.dependency("vulkan_headers", .{
.target = target,
Expand Down
16 changes: 8 additions & 8 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@
},
.dependencies = .{
.xcode_frameworks = .{
.url = "https://pkg.machengine.org/xcode-frameworks/2fca968efa90a4060803c56dd0f027890353f0a9.tar.gz",
.hash = "122010c1a745ea06dee3012fbd3b311bd3d75ec39ded6bf566b36ebe3cd8da482347",
.url = "https://pkg.machengine.org/xcode-frameworks/d03c77cbee91eaffaa37c124359c4d865120575a.tar.gz",
.hash = "1220952bf2759bf72187441dead4dfcebce9ff0d6e1cbb4a68355a11d1f7287e0683",
},
.vulkan_headers = .{
.url = "https://pkg.machengine.org/vulkan-headers/e33f2e482893a90bb36d67649ab30d5236ac21ab.tar.gz",
.hash = "122017098e4ca00dac1a9d30d152a6e6e9522843219c6df4489210fb7c8a6e4c7c1a",
.url = "https://pkg.machengine.org/vulkan-headers/7dc2066cfeffca068b84685f585cacad4e3fd258.tar.gz",
.hash = "1220f27b39516672923105994f8f70e6ab8bb7492e8c3060be6311b2b3f7f7d79851",
},
.wayland_headers = .{
.url = "https://pkg.machengine.org/wayland-headers/4926b8c635aa2f215b0d5382060fc4091aa7b705.tar.gz",
.hash = "12207decf58bee217ae9c5340a6852a62e7f5af9901bef9b1468d93e480798898285",
.url = "https://pkg.machengine.org/wayland-headers/81015bea4a1cfb9e392c9bae9362685530bf380e.tar.gz",
.hash = "12206f267bf499a1f948b0e3b41252c47622c5fee1c9d0f53e94339cac9ccd2a4d7c",
},
.x11_headers = .{
.url = "https://pkg.machengine.org/x11-headers/ad1c4891f70302c61ba956cfd565758dc1ca9d28.tar.gz",
.hash = "1220ce35d8f1556afd5bf4796a7899d459f9c628b989f247eaf6aa00fbad10a88c9f",
.url = "https://pkg.machengine.org/x11-headers/c9f23ce8363eb08d79b333928898e38885de925c.tar.gz",
.hash = "122089c326186c84aa2fd034b16abc38f3ebf4862d9ae106dc1847ac44f557b36465",
},
},
}

0 comments on commit 95b04a4

Please sign in to comment.