mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
Update project_setup.ps1 for Zig 0.15.1
This commit is contained in:
parent
492e809dd5
commit
55937dd8a9
@ -50,7 +50,7 @@ pub fn build(b: *std.Build) !void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const exe = b.addExecutable(.{ .name = "$PROJECT_NAME", .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target });
|
const exe = b.addExecutable(.{ .name = "$PROJECT_NAME", .root_module = b.createModule(.{ .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target }) });
|
||||||
|
|
||||||
exe.linkLibrary(raylib_artifact);
|
exe.linkLibrary(raylib_artifact);
|
||||||
exe.root_module.addImport("raylib", raylib);
|
exe.root_module.addImport("raylib", raylib);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user