diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-01-26 16:38:18 -0600 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-01-26 16:38:18 -0600 |
commit | 7862e6afa3e8325b884beb2ac538f4bb9f30b9c7 (patch) | |
tree | 9e923e4ae7b770204d4ca50827b8d62adee7e688 /build.zig | |
parent | 873f5db087e31af897b5e8b1e7b427cbd5dbfc71 (diff) |
migrate to SDL3sdl3
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |