Add C++ standard to CMake for MSVC

This commit is contained in:
Jonah Beckford 2023-08-07 20:55:27 -07:00
parent f07596dbb5
commit d8b55078ba
3 changed files with 18 additions and 1 deletions

View file

@ -18,7 +18,7 @@
#include "addressbook.capnp.h"
static capn_text chars_to_text(const char *chars) {
return (capn_text) {
return {
.len = (int) strlen(chars),
.str = chars,
.seg = NULL,