Skip to content

Commit

Permalink
[progress #212] update build.zig files to cimgui
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl authored May 1, 2024
2 parents baf9c53 + a4627d3 commit d522073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ fn link (builder: *std.Build, profile: *const Profile) !*Package
const cimgui_dep = builder.dependency ("cimgui", .{
.target = profile.target,
.optimize = profile.optimize,
.platform = .GLFW,
.renderer = .Vulkan,
});

const c = try Package.init (builder, profile, "c",
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.paths = .{ "", },
.dependencies = .{
.cimgui = .{
.url = "https://github.com/tiawl/cimgui.zig/archive/refs/tags/v1.90.5.tar.gz",
.hash = "1220cab1aa444e6fd1dfaf57ad268d42ceb533921db2fef5fd666127fc82483ed8f7",
.url = "https://github.com/tiawl/cimgui.zig/archive/35372c5cb8ece49898916c04b78bec13f6d67339.tar.gz",
.hash = "122091ad7ad08145cf7b45da2399824ffa7435229bf22eeb0a0e1453491934470dbd",
},
.shaderc = .{
.url = "https://github.com/tiawl/shaderc.zig/archive/refs/tags/v2024.0.tar.gz",
Expand Down

0 comments on commit d522073

Please sign in to comment.