From e09c34d64d9db4f35a1e1b5168880221c29bb173 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Mon, 17 Jun 2024 22:45:49 +0200 Subject: [PATCH] Update project_setup.sh to work with zig 0.13.0 (#105) --- project_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_setup.sh b/project_setup.sh index 70aa238..9613bcb 100755 --- a/project_setup.sh +++ b/project_setup.sh @@ -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);