gpu: add type to pkg def in build.zig

This commit is contained in:
Silver 2022-04-06 05:40:44 +01:00 committed by Stephen Gutekanst
parent 017ca6dd08
commit 04da4565c1

View file

@ -44,7 +44,7 @@ pub const Options = struct {
gpu_dawn_options: gpu_dawn.Options = .{},
};
pub const pkg = .{
pub const pkg = std.build.Pkg{
.name = "gpu",
.path = .{ .path = thisDir() ++ "/src/main.zig" },
.dependencies = &.{glfw.pkg},