diff --git a/project_setup.ps1 b/project_setup.ps1 index e75e62e..e8bd89c 100644 --- a/project_setup.ps1 +++ b/project_setup.ps1 @@ -50,7 +50,7 @@ pub fn build(b: *std.Build) !void { 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.root_module.addImport("raylib", raylib);