Skip to content

Commit 31979b1

Browse files
fabioarnoldandrewrk
authored andcommitted
Fix compile error in addVcpkgPaths
1 parent 88fb4da commit 31979b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/Build/Step/Compile.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ pub fn addVcpkgPaths(self: *Compile, linkage: Compile.Linkage) !void {
11491149

11501150
const include_path = b.pathJoin(&.{ root, "installed", triplet, "include" });
11511151
errdefer allocator.free(include_path);
1152-
try self.include_dirs.append(IncludeDir{ .raw_path = include_path });
1152+
try self.include_dirs.append(IncludeDir{ .path = .{ .path = include_path } });
11531153

11541154
const lib_path = b.pathJoin(&.{ root, "installed", triplet, "lib" });
11551155
try self.lib_paths.append(.{ .path = lib_path });

0 commit comments

Comments
 (0)