mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Fix compile error in addVcpkgPaths
This commit is contained in:
parent
88fb4dab81
commit
31979b1006
@ -1149,7 +1149,7 @@ pub fn addVcpkgPaths(self: *Compile, linkage: Compile.Linkage) !void {
|
||||
|
||||
const include_path = b.pathJoin(&.{ root, "installed", triplet, "include" });
|
||||
errdefer allocator.free(include_path);
|
||||
try self.include_dirs.append(IncludeDir{ .raw_path = include_path });
|
||||
try self.include_dirs.append(IncludeDir{ .path = .{ .path = include_path } });
|
||||
|
||||
const lib_path = b.pathJoin(&.{ root, "installed", triplet, "lib" });
|
||||
try self.lib_paths.append(.{ .path = lib_path });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user