clean up build.zig and add type to pkg def
This commit is contained in:
parent
8b2ae06121
commit
6ec499cf70
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ pub const Options = struct {
|
|||
gpu_dawn_options: gpu_dawn.Options = .{},
|
||||
};
|
||||
|
||||
pub const pkg = .{
|
||||
pub const pkg = std.build.Pkg{
|
||||
.name = "mach",
|
||||
.path = .{ .path = thisDir() ++ "/src/main.zig" },
|
||||
.dependencies = &.{ gpu.pkg, glfw.pkg },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue