Merge pull request #84 from d0miKuras/master

Fixed deprecated install step
This commit is contained in:
Robin Voetter
2023-04-17 20:14:40 +02:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void {
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
}); });
generator_exe.install(); b.installArtifact(generator_exe);
// or they can skip all that, and just make sure to pass `.registry = "path/to/vk.xml"` to `b.dependency`, // or they can skip all that, and just make sure to pass `.registry = "path/to/vk.xml"` to `b.dependency`,
// and then obtain the module directly via `.module("vulkan-zig")`. // and then obtain the module directly via `.module("vulkan-zig")`.
@@ -42,7 +42,7 @@ pub fn build(b: *std.Build) void {
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
}); });
triangle_exe.install(); b.installArtifact(triangle_exe);
triangle_exe.linkLibC(); triangle_exe.linkLibC();
triangle_exe.linkSystemLibrary("glfw"); triangle_exe.linkSystemLibrary("glfw");