Skip to content

Commit a93b77f

Browse files
author
Jay
committed
Update resources module
1 parent c0d22f3 commit a93b77f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ pub fn build(b: *std.Build) void {
2727
lib_mod.addImport("zigimg", zigimg_module);
2828
lib_mod.addImport("sdl", sdl_module);
2929
lib_mod.addImport("mixer", mixer_module);
30+
lib_mod.addIncludePath(b.path("libs/SDL3_mixer/SDL_mixer.h"));
3031

3132
link_sdl_framework(b, &target, lib_mod);
3233

@@ -89,7 +90,9 @@ fn define_sdl_module(
8990
});
9091
headers.addIncludePath(sdl_dep.path("include"));
9192
headers.addIncludePath(ttf_dep.path("include"));
93+
headers.addIncludePath(b.path("libs/SDL3_mixer/SDL_mixer.h"));
9294
const module = headers.addModule("sdl");
95+
module.addIncludePath(b.path("libs/SDL3_mixer/SDL_mixer.h"));
9396
add_libs(b, target, module);
9497
add_translatec_headers(b, target, headers);
9598

build.zig.zon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
.hash = "zigimg-0.1.0-8_eo2vBrFQBhsrLpexdcDQY-zrlzkyFZfKuYX-Nry6KN",
1818
},
1919
.resources = .{
20-
.url = "git+https://github.com/loftafi/resources.git#abb03450daffae21e39109279a2016422dfe4a1e",
21-
.hash = "resources-0.6.1-J0GwIyeeAQAJP26cb9BqhGIgrvMXoOokKtUJpxnes1dc",
20+
.url = "git+https://github.com/loftafi/resources.git#53d0a337c8887b5eae493d47f4d21434c564a65d",
21+
.hash = "resources-0.6.2-J0GwIz6eAQCC10Z4CUUmIFPk22hnTXFKRuNqWtHVLwxT",
2222
},
2323
},
2424
.paths = .{

0 commit comments

Comments
 (0)