From c3f8f9a4d505115414140e58514c7112a88571ce Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 4 Apr 2022 23:26:50 -0700 Subject: [PATCH] correct glfw package dependency Signed-off-by: Stephen Gutekanst --- build.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.zig b/build.zig index 90f51179..054a8ab5 100644 --- a/build.zig +++ b/build.zig @@ -17,6 +17,7 @@ pub fn build(b: *std.build.Builder) void { main_tests.setTarget(target); main_tests.addPackage(pkg); main_tests.addPackage(gpu.pkg); + main_tests.addPackage(glfw.pkg); link(b, main_tests, options); const test_step = b.step("test", "Run library tests"); @@ -27,6 +28,7 @@ pub fn build(b: *std.build.Builder) void { example.setBuildMode(mode); example.addPackage(pkg); example.addPackage(gpu.pkg); + example.addPackage(glfw.pkg); link(b, example, options); example.install();