correct glfw package dependency

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-04-04 23:26:50 -07:00 committed by Stephen Gutekanst
parent d0c55db017
commit c3f8f9a4d5

View file

@ -17,6 +17,7 @@ pub fn build(b: *std.build.Builder) void {
main_tests.setTarget(target); main_tests.setTarget(target);
main_tests.addPackage(pkg); main_tests.addPackage(pkg);
main_tests.addPackage(gpu.pkg); main_tests.addPackage(gpu.pkg);
main_tests.addPackage(glfw.pkg);
link(b, main_tests, options); link(b, main_tests, options);
const test_step = b.step("test", "Run library tests"); 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.setBuildMode(mode);
example.addPackage(pkg); example.addPackage(pkg);
example.addPackage(gpu.pkg); example.addPackage(gpu.pkg);
example.addPackage(glfw.pkg);
link(b, example, options); link(b, example, options);
example.install(); example.install();