glfw: add type to pkg def in build.zig

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

View file

@ -41,7 +41,7 @@ pub const Options = struct {
system_sdk: system_sdk.Options = .{}, system_sdk: system_sdk.Options = .{},
}; };
pub const pkg = .{ pub const pkg = std.build.Pkg{
.name = "glfw", .name = "glfw",
.path = .{ .path = thisDir() ++ "/src/main.zig" }, .path = .{ .path = thisDir() ++ "/src/main.zig" },
}; };