diff --git a/build.zig b/build.zig index dfdb53e..da2761a 100644 --- a/build.zig +++ b/build.zig @@ -16,6 +16,7 @@ pub fn build(b: *std.build.Builder) !void { ); exe.addPackage(.{ .name = "known-folders", .path = .{ .path = "src/known-folders/known-folders.zig" } }); + exe.addPackage(.{ .name = "zinput", .path = .{ .path = "src/zinput/src/main.zig" } }); exe.setTarget(target); exe.setBuildMode(mode); diff --git a/src/setup.zig b/src/setup.zig index 5484482..5237ec0 100644 --- a/src/setup.zig +++ b/src/setup.zig @@ -1,5 +1,5 @@ const std = @import("std"); -const zinput = @import("zinput/src/main.zig"); +const zinput = @import("zinput"); const known_folders = @import("known-folders"); fn print(comptime fmt: []const u8, args: anytype) void {