Skip to content

Commit a5c048c

Browse files
authored
change c++ version to 17
(VMA_SYSTEM_ALIGNED_MALLOC must be provided for prior versions, could go back to 14 if thats the case)
1 parent ae6397b commit a5c048c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub fn build(b: *std.Build) !void {
2929

3030
lib.addCSourceFile(.{
3131
.file = b.addWriteFiles().add("vk_mem_alloc.cpp", "#include \"vk_mem_alloc.h\""),
32-
.flags = &.{ "-DVMA_IMPLEMENTATION", "-std=c++14" },
32+
.flags = &.{ "-DVMA_IMPLEMENTATION", "-std=c++17" },
3333
});
3434

3535
{

0 commit comments

Comments
 (0)