mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
fix(build): link headers properly
This commit is contained in:
parent
a6dde606ef
commit
9108aec687
2 changed files with 2 additions and 4 deletions
|
|
@ -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(.{
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
.squall = .{
|
||||
.url = "https://github.com/thunderbrewhq/squall/archive/refs/heads/master.zip",
|
||||
.hash = "1220bd226ad3c1664370d204a12805c35d721682f52b925cd96cc9d99bddf76ed2a5",
|
||||
},
|
||||
.hash = "12200577cef7c49c34d706346f514343d0378480cdf7cdaff4ee9e9318fc29f0168b",
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue