fix(build): link headers properly

This commit is contained in:
phaneron 2024-07-03 14:58:46 -04:00
parent a6dde606ef
commit 9108aec687
2 changed files with 2 additions and 4 deletions

View file

@ -19,7 +19,6 @@ pub fn build(b: *std.Build) void {
// Get dependencies
const squall = b.dependency("squall", .{});
// Link storm
tempest.addIncludePath(squall.path("."));
tempest.linkLibrary(squall.artifact("storm"));
// Include Typhoon project directory
@ -60,7 +59,6 @@ pub fn build(b: *std.Build) void {
system.add_defines(tempest_test_exe);
tempest_test_exe.linkLibrary(tempest);
tempest_test_exe.addIncludePath(squall.path("."));
tempest_test_exe.addIncludePath(b.path("."));
tempest_test_exe.addCSourceFiles(.{