Skip to content

Commit

Permalink
Fixup compilation fo x86_64-windows-msvc (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcbanner authored Nov 7, 2024
1 parent 5104720 commit 66aa9c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ pub fn build(b: *std.Build) void {

zdawn.linkSystemLibrary("dawn");
zdawn.linkLibC();
zdawn.linkLibCpp();
if (target.result.abi != .msvc)
zdawn.linkLibCpp();

zdawn.addIncludePath(b.path("libs/dawn/include"));
zdawn.addIncludePath(b.path("src"));
Expand Down

0 comments on commit 66aa9c5

Please sign in to comment.