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