diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-04-24 20:30:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-04-24 20:30:10 +0900 |
| commit | 55bf05f1268c8fbbf7f2fb0b6ed44f76801d6b0f (patch) | |
| tree | d0109b310dddc3edc356484b6a7d0d4f2ab401ae /build.zig | |
| parent | ca7da77181c2232a676c730a94906119a9c64f9c (diff) | |
| download | RayTracingInOneWeekend.zig-55bf05f1268c8fbbf7f2fb0b6ed44f76801d6b0f.tar.gz RayTracingInOneWeekend.zig-55bf05f1268c8fbbf7f2fb0b6ed44f76801d6b0f.tar.zst RayTracingInOneWeekend.zig-55bf05f1268c8fbbf7f2fb0b6ed44f76801d6b0f.zip | |
feat: update zig to 0.12.0
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -24,7 +24,14 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); - exe.addAnonymousModule("zigimg", .{ .source_file = .{ .path = "deps/zigimg/zigimg.zig" } }); + exe.root_module.addAnonymousImport( + "zigimg", + .{ + .root_source_file = .{ + .path = "deps/zigimg/zigimg.zig", + }, + }, + ); // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default |
