Skip to content

Commit

Permalink
Update raylib
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Nov 8, 2024
1 parent 750b6ea commit 3308b5a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion lib/raylib
10 changes: 0 additions & 10 deletions src/Raylib.NET.Native/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ pub fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize:
const lib = raylib.artifact("raylib");

switch (target.result.os.tag) {
.macos => {
if (b.lazyDependency("xcode_frameworks", .{
.target = target,
.optimize = optimize,
})) |dep| {
lib.addSystemFrameworkPath(dep.path("Frameworks"));
lib.addSystemIncludePath(dep.path("include"));
lib.addLibraryPath(dep.path("lib"));
}
},
.linux => {
if (target.result.cpu.arch == .aarch64) {
lib.addLibraryPath(.{ .cwd_relative = "/usr/lib/aarch64-linux-gnu/" });
Expand Down
5 changes: 0 additions & 5 deletions src/Raylib.NET.Native/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
.raylib = .{ .path = "../../lib/raylib" },
.raygui = .{ .path = "../../lib/raygui" },
.rres = .{ .path = "../../lib/rres" },
.xcode_frameworks = .{
.url = "git+https://github.com/hexops/xcode-frameworks#a6bf82e032d4d9923ad5c222d466710fcc05f249",
.hash = "12208da4dfcd9b53fb367375fb612ec73f38e53015f1ce6ae6d6e8437a637078e170",
.lazy = true,
},
},

.paths = .{
Expand Down

0 comments on commit 3308b5a

Please sign in to comment.