aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 4713da9..61269d9 100644
--- a/build.zig
+++ b/build.zig
@@ -35,9 +35,11 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
+ exe.addLibraryPath(b.path("vendor/SDL/build"));
+ exe.addIncludePath(b.path("vendor/SDL/include"));
exe.linkSystemLibrary("c");
exe.linkSystemLibrary("ncurses");
- exe.linkSystemLibrary("SDL2");
+ exe.linkSystemLibrary("SDL3");
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default