Skip to content

Commit

Permalink
Fix SPIRV-Cross build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Dec 19, 2023
1 parent c0804b7 commit e68333d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/nuke/Native/SPIRVCross.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub fn build(b: *std.Build) void {
lib.linkLibC();
lib.linkLibCpp();
var flags = &.{ ""-std=c++11"", ""-fPIC"" };
const flags = &.{ ""-std=c++11"", ""-fPIC"" };
//Enable the GLSL, HLSL, MSL, CPP, and Reflect C APIs
lib.defineCMacro(""SPIRV_CROSS_C_API_GLSL"", ""1"");
Expand Down Expand Up @@ -162,4 +162,4 @@ fn root_dir() []const u8 {
}
)
);
}
}

0 comments on commit e68333d

Please sign in to comment.