mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 03:57:29 +00:00
Update project_setup.sh to work with zig 0.13.0 (#105)
This commit is contained in:
parent
ad994ac135
commit
e09c34d64d
@ -42,7 +42,7 @@ pub fn build(b: *std.Build) !void {
|
||||
return;
|
||||
}
|
||||
|
||||
const exe = b.addExecutable(.{ .name = "'$PROJECT_NAME'", .root_source_file = .{ .path = "src/main.zig" }, .optimize = optimize, .target = target });
|
||||
const exe = b.addExecutable(.{ .name = "'$PROJECT_NAME'", .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target });
|
||||
|
||||
exe.linkLibrary(raylib_artifact);
|
||||
exe.root_module.addImport("raylib", raylib);
|
||||
|
Loading…
x
Reference in New Issue
Block a user