From 8cde0586d18e03e6a3cb0df0ed03f009d7b3f054 Mon Sep 17 00:00:00 2001 From: neoxpert <18628980+neoxpert@users.noreply.github.com> Date: Wed, 16 Nov 2022 10:29:59 +0100 Subject: [PATCH] add c++17 flag for MSVC --- binding.gyp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/binding.gyp b/binding.gyp index a19cd7c99..13f437433 100644 --- a/binding.gyp +++ b/binding.gyp @@ -13,6 +13,13 @@ 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': ['-std=c++17', '-stdlib=libc++'], }, + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': [ + '/std:c++17' + ] + } + }, 'conditions': [ ['OS=="linux"', { 'ldflags': [