Skip to content

Commit

Permalink
Try addIncludePath
Browse files Browse the repository at this point in the history
  • Loading branch information
BeanCheeseBurrito committed Jul 29, 2024
1 parent ef3700d commit b791a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Flecs.NET.Native/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn compileFlecs(options: anytype, b: *Build, lib_type: LibType) void {
lib.linkSystemLibrary("ws2_32");
},
.ios => {
lib.addSystemIncludePath(.{ .cwd_relative = "/usr/include" });
lib.addIncludePath(.{ .cwd_relative = "/usr/include" });

if (options.target.result.abi == .simulator and options.ios_simulator_sdk_path != null) {
b.sysroot = options.ios_simulator_sdk_path;
Expand Down

0 comments on commit b791a81

Please sign in to comment.