correct glfw package dependency
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d0c55db017
commit
c3f8f9a4d5
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue