fix mistake

This commit is contained in:
Blue 2023-08-11 01:01:08 -06:00
parent 7a0d397baf
commit c76acc242d

View File

@ -87,7 +87,7 @@ pub fn getModuleInternal(b: *std.Build) *std.Build.Module {
pub const math = struct { pub const math = struct {
pub fn getModule(b: *std.Build, comptime rl_path: []const u8) *std.Build.Module { pub fn getModule(b: *std.Build, comptime rl_path: []const u8) *std.Build.Module {
var raylib = rl.getModuleInternal(b); var raylib = rl.getModule(b, rl_path);
return b.addModule("raylib-math", .{ .source_file = .{ .path = rl_path ++ "/lib/raylib-zig-math.zig" }, .dependencies = &.{.{ .name = "raylib-zig", .module = raylib }} }); return b.addModule("raylib-math", .{ .source_file = .{ .path = rl_path ++ "/lib/raylib-zig-math.zig" }, .dependencies = &.{.{ .name = "raylib-zig", .module = raylib }} });
} }