diff options
| author | Fabio Arnold <fabio@fabioarnold.de> | 2023-08-02 11:19:05 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-08-03 09:37:26 -0700 |
| commit | 31979b10065b6ab1d00413648daea5907639819e (patch) | |
| tree | f95d45e1dfa72178ca29f18953e26a1df1caa879 /lib/std/Build | |
| parent | 88fb4dab81ab67b66600868f9a72892ed77bbb21 (diff) | |
| download | zig-31979b10065b6ab1d00413648daea5907639819e.tar.gz zig-31979b10065b6ab1d00413648daea5907639819e.zip | |
Fix compile error in `addVcpkgPaths`
Diffstat (limited to 'lib/std/Build')
| -rw-r--r-- | lib/std/Build/Step/Compile.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig index b414d43e27..89cc2ecfd9 100644 --- a/lib/std/Build/Step/Compile.zig +++ b/lib/std/Build/Step/Compile.zig @@ -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 }); |
