all: fix pointless discards; typo; fix libmach compilation on Linux (#541)
This commit is contained in:
parent
38c4fc5b01
commit
b0cd4ec1a0
4 changed files with 5 additions and 3 deletions
|
|
@ -165,6 +165,10 @@ pub fn build(b: *std.build.Builder) void {
|
|||
lib.addPackage(gpu.pkg);
|
||||
lib.addPackage(glfw.pkg);
|
||||
lib.addPackage(sysaudio.pkg);
|
||||
if (target.toTarget().os.tag == .linux) {
|
||||
// TODO: add gamemode.pkg instead of using addPackagePath
|
||||
lib.addPackagePath("gamemode", (comptime thisDir()) ++ "/libs/gamemode/gamemode.zig");
|
||||
}
|
||||
glfw.link(b, lib, options.glfw_options);
|
||||
gpu.link(b, lib, options.gpuOptions());
|
||||
lib.setOutputDir("./libmach/build");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue