glfw: workaround macOS zig libc __kernel_ptr_semantics
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f886d490ee
commit
f4bfe1a541
3 changed files with 7 additions and 2 deletions
|
|
@ -116,6 +116,7 @@ fn buildLibrary(b: *Build, optimize: std.builtin.OptimizeMode, target: std.zig.C
|
|||
fn addGLFWIncludes(step: *std.build.CompileStep) void {
|
||||
step.addIncludePath(sdkPath("/upstream/glfw/include"));
|
||||
step.addIncludePath(sdkPath("/upstream/vulkan_headers/include"));
|
||||
step.addIncludePath(sdkPath("/src"));
|
||||
}
|
||||
|
||||
fn addGLFWSources(b: *Build, lib: *std.build.CompileStep, options: Options) std.mem.Allocator.Error!void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue